3D viewer: Preference menu: fix a bug which displays incorrectly the actual display options state (always shown off) when starting the 3D viewer

This commit is contained in:
jean-pierre charras 2013-10-04 16:52:09 +02:00
parent 229879345e
commit ab8016abc4
1 changed files with 1 additions and 1 deletions

View File

@ -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()