Use abbreviated unit (not symbol) in design rule dialog

Fixes: lp:1667644
* https://bugs.launchpad.net/kicad/+bug/1667644
This commit is contained in:
John Beard 2017-03-15 07:06:48 +08:00 committed by Wayne Stambaugh
parent ef3553c086
commit 7e1eea4122
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ void DIALOG_DESIGN_RULES::InitDialogRules()
void DIALOG_DESIGN_RULES::InitGlobalRules()
{
// Set unit labels
wxString units = ReturnUnitSymbol( g_UserUnit, "%s" );
const wxString units = GetAbbreviatedUnitsLabel( g_UserUnit );
m_ViaMinUnits->SetLabel( units );
m_ViaMinDrillUnits->SetLabel( units );