Disable Flip board view in Legacy mode (because the view cannot be flipped)
This commit is contained in:
parent
0265a5bac5
commit
188d7812ec
|
@ -369,9 +369,11 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
|
|||
viewMenu->AppendSeparator();
|
||||
|
||||
AddMenuItem( viewMenu, ID_MENU_PCB_FLIP_VIEW,
|
||||
_( "&Flip View" ), _( "Flips (mirrors) the board view." ),
|
||||
_( "&Flip Board View" ),
|
||||
_( "Flips (mirrors) the board view" ),
|
||||
KiBitmap( flip_board_xpm ), wxITEM_CHECK );
|
||||
|
||||
|
||||
viewMenu->AppendSeparator();
|
||||
|
||||
text = AddHotkeyName( _( "&Switch Canvas to Legacy" ), g_Pcbnew_Editor_Hokeys_Descr,
|
||||
|
|
|
@ -717,7 +717,8 @@ void PCB_EDIT_FRAME::enableGALSpecificMenus()
|
|||
ID_TUNE_SINGLE_TRACK_LEN_BUTT,
|
||||
ID_TUNE_DIFF_PAIR_LEN_BUTT,
|
||||
ID_TUNE_DIFF_PAIR_SKEW_BUTT,
|
||||
ID_MENU_DIFF_PAIR_DIMENSIONS
|
||||
ID_MENU_DIFF_PAIR_DIMENSIONS,
|
||||
ID_MENU_PCB_FLIP_VIEW
|
||||
};
|
||||
|
||||
bool enbl = IsGalCanvasActive();
|
||||
|
|
Loading…
Reference in New Issue