Disable Flip board view in Legacy mode (because the view cannot be flipped)

This commit is contained in:
jean-pierre charras 2016-12-13 21:24:29 +01:00
parent 0265a5bac5
commit 188d7812ec
2 changed files with 5 additions and 2 deletions

View File

@ -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,

View File

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