Grid list display in popup menu: go back to the previous version, due to problems when using tabs in this menu.

This commit is contained in:
charras 2010-03-22 16:44:22 +00:00
parent 7074f12074
commit 9109dc331f
1 changed files with 2 additions and 2 deletions

View File

@ -247,10 +247,10 @@ void WinEDA_DrawFrame::AddMenuZoomAndGrid( wxMenu* MasterMenu )
else
{
if( g_UnitMetric == 0 ) // inches
msg.Printf( wxT( "%.1f mils\t(%.3f mm)" ),
msg.Printf( wxT( "%.1f mils, (%.3f mm)" ),
gridValueInch * 1000, gridValue_mm );
else
msg.Printf( wxT( "%.3f mm\t(%.1f mils)" ),
msg.Printf( wxT( "%.3f mm, (%.1f mils)" ),
gridValue_mm, gridValueInch * 1000 );
}
gridMenu->Append( tmp.m_Id, msg, wxEmptyString, true );