Hide properties panel menu entry if flag isn't set
This commit is contained in:
parent
513fc872bb
commit
728ef8a61c
|
@ -228,7 +228,10 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
|
|||
ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool );
|
||||
|
||||
viewMenu->Add( PCB_ACTIONS::showLayersManager, ACTION_MENU::CHECK );
|
||||
viewMenu->Add( PCB_ACTIONS::showProperties, ACTION_MENU::CHECK );
|
||||
|
||||
if( ADVANCED_CFG::GetCfg().m_ShowPropertiesPanel )
|
||||
viewMenu->Add( PCB_ACTIONS::showProperties, ACTION_MENU::CHECK );
|
||||
|
||||
viewMenu->Add( PCB_ACTIONS::showSearch, ACTION_MENU::CHECK );
|
||||
viewMenu->Add( ACTIONS::showFootprintBrowser );
|
||||
viewMenu->Add( ACTIONS::show3DViewer );
|
||||
|
|
Loading…
Reference in New Issue