Use abbreviated unit (not symbol) in design rule dialog
Fixes: lp:1667644 * https://bugs.launchpad.net/kicad/+bug/1667644
This commit is contained in:
parent
ef3553c086
commit
7e1eea4122
|
@ -278,7 +278,7 @@ void DIALOG_DESIGN_RULES::InitDialogRules()
|
||||||
void DIALOG_DESIGN_RULES::InitGlobalRules()
|
void DIALOG_DESIGN_RULES::InitGlobalRules()
|
||||||
{
|
{
|
||||||
// Set unit labels
|
// Set unit labels
|
||||||
wxString units = ReturnUnitSymbol( g_UserUnit, "%s" );
|
const wxString units = GetAbbreviatedUnitsLabel( g_UserUnit );
|
||||||
|
|
||||||
m_ViaMinUnits->SetLabel( units );
|
m_ViaMinUnits->SetLabel( units );
|
||||||
m_ViaMinDrillUnits->SetLabel( units );
|
m_ViaMinDrillUnits->SetLabel( units );
|
||||||
|
|
Loading…
Reference in New Issue