Remove global units usage from GetSelectionText...
... and GetMsgPanelInfo. Step 4 in the g_UserUnit eradication effort. Also removes a couple of conversion routines that were close enough to extinction. (cherry picked from commit c75da51)
This commit is contained in:
@@ -632,7 +632,7 @@ EDA_ITEM* GERBVIEW_SELECTION_TOOL::disambiguationMenu( GERBER_COLLECTOR* aCollec
|
||||
{
|
||||
wxString text;
|
||||
EDA_ITEM* item = ( *aCollector )[i];
|
||||
text = item->GetSelectMenuText();
|
||||
text = item->GetSelectMenuText( m_frame->GetUserUnits() );
|
||||
menu.Add( text, i + 1, item->GetMenuImage() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user