Commit 9109dc33 authored by charras's avatar charras

Grid list display in popup menu: go back to the previous version, due to...

Grid list display in popup menu: go back to the previous version, due to problems when using tabs in this menu.
parent 7074f120
...@@ -247,10 +247,10 @@ void WinEDA_DrawFrame::AddMenuZoomAndGrid( wxMenu* MasterMenu ) ...@@ -247,10 +247,10 @@ void WinEDA_DrawFrame::AddMenuZoomAndGrid( wxMenu* MasterMenu )
else else
{ {
if( g_UnitMetric == 0 ) // inches if( g_UnitMetric == 0 ) // inches
msg.Printf( wxT( "%.1f mils\t(%.3f mm)" ), msg.Printf( wxT( "%.1f mils, (%.3f mm)" ),
gridValueInch * 1000, gridValue_mm ); gridValueInch * 1000, gridValue_mm );
else else
msg.Printf( wxT( "%.3f mm\t(%.1f mils)" ), msg.Printf( wxT( "%.3f mm, (%.1f mils)" ),
gridValue_mm, gridValueInch * 1000 ); gridValue_mm, gridValueInch * 1000 );
} }
gridMenu->Append( tmp.m_Id, msg, wxEmptyString, true ); gridMenu->Append( tmp.m_Id, msg, wxEmptyString, true );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment