Browse Source

Small order change for three View menu items

7.0
aris-kimi 3 years ago
committed by Seth Hillbrand
parent
commit
86c12d35b4
  1. 5
      gerbview/menubar.cpp
  2. 7
      pcbnew/menubar_pcb_editor.cpp

5
gerbview/menubar.cpp

@ -164,9 +164,6 @@ void GERBVIEW_FRAME::doReCreateMenuBar()
//
ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool );
viewMenu->Add( GERBVIEW_ACTIONS::toggleLayerManager, ACTION_MENU::CHECK );
viewMenu->AppendSeparator();
viewMenu->Add( ACTIONS::zoomInCenter );
viewMenu->Add( ACTIONS::zoomOutCenter );
viewMenu->Add( ACTIONS::zoomFitScreen );
@ -204,6 +201,8 @@ void GERBVIEW_FRAME::doReCreateMenuBar()
viewMenu->Add( ACTIONS::highContrastMode, ACTION_MENU::CHECK );
viewMenu->Add( GERBVIEW_ACTIONS::flipGerberView, ACTION_MENU::CHECK );
viewMenu->AppendSeparator();
viewMenu->Add( GERBVIEW_ACTIONS::toggleLayerManager, ACTION_MENU::CHECK );
//-- Tools menu -------------------------------------------------------
//

7
pcbnew/menubar_pcb_editor.cpp

@ -223,11 +223,11 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
//
ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool );
viewMenu->Add( PCB_ACTIONS::showLayersManager, ACTION_MENU::CHECK );
viewMenu->Add( ACTIONS::showFootprintBrowser );
viewMenu->Add( PCB_ACTIONS::showProperties, ACTION_MENU::CHECK );
viewMenu->Add( PCB_ACTIONS::showSearch, ACTION_MENU::CHECK );
viewMenu->Add( ACTIONS::showFootprintBrowser );
viewMenu->Add( ACTIONS::show3DViewer );
viewMenu->AppendSeparator();
@ -296,6 +296,9 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
viewMenu->Add( PCB_ACTIONS::flipBoard, ACTION_MENU::CHECK );
viewMenu->AppendSeparator();
viewMenu->Add( PCB_ACTIONS::showLayersManager, ACTION_MENU::CHECK );
#ifdef __APPLE__
viewMenu->AppendSeparator();
#endif

Loading…
Cancel
Save