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:
parent
229879345e
commit
ab8016abc4
|
@ -206,8 +206,8 @@ void EDA_3D_FRAME::CreateMenuBar()
|
||||||
item = AddMenuItem( prefsMenu, ID_MENU3D_ECO_ONOFF,
|
item = AddMenuItem( prefsMenu, ID_MENU3D_ECO_ONOFF,
|
||||||
_( "Show &Eco Layers" ), KiBitmap( edit_sheet_xpm ), wxITEM_CHECK );
|
_( "Show &Eco Layers" ), KiBitmap( edit_sheet_xpm ), wxITEM_CHECK );
|
||||||
|
|
||||||
SetMenuBarOptionsState();
|
|
||||||
SetMenuBar( menuBar );
|
SetMenuBar( menuBar );
|
||||||
|
SetMenuBarOptionsState();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EDA_3D_FRAME::SetMenuBarOptionsState()
|
void EDA_3D_FRAME::SetMenuBarOptionsState()
|
||||||
|
|
Loading…
Reference in New Issue