Commit ab8016ab authored by jean-pierre charras's avatar jean-pierre charras

3D viewer: Preference menu: fix a bug which displays incorrectly the actual...

3D viewer: Preference menu: fix a bug which displays incorrectly the actual display options state (always shown off) when starting the 3D viewer
parent 22987934
......@@ -206,8 +206,8 @@ void EDA_3D_FRAME::CreateMenuBar()
item = AddMenuItem( prefsMenu, ID_MENU3D_ECO_ONOFF,
_( "Show &Eco Layers" ), KiBitmap( edit_sheet_xpm ), wxITEM_CHECK );
SetMenuBarOptionsState();
SetMenuBar( menuBar );
SetMenuBarOptionsState();
}
void EDA_3D_FRAME::SetMenuBarOptionsState()
......
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