Moved 'Flip View' menu entry
Under Windows wxWidgets there is a problem with the last menu item having wxITEM_CHECK flag.
This commit is contained in:
parent
f94c10b453
commit
07c7334238
|
@ -366,6 +366,10 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
|
|||
_( "&List Nets" ), _( "View a list of nets with names and id's" ),
|
||||
KiBitmap( list_nets_xpm ) );
|
||||
|
||||
AddMenuItem( viewMenu, ID_MENU_PCB_FLIP_VIEW,
|
||||
_( "&Flip View" ), _( "Flips (mirrors) the board view." ),
|
||||
KiBitmap( three_d_xpm ), wxITEM_CHECK );
|
||||
|
||||
viewMenu->AppendSeparator();
|
||||
|
||||
text = AddHotkeyName( _( "&Switch Canvas to Legacy" ), g_Pcbnew_Editor_Hokeys_Descr,
|
||||
|
@ -389,12 +393,6 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
|
|||
text, _( "Switch the canvas implementation to Cairo" ),
|
||||
KiBitmap( tools_xpm ) );
|
||||
|
||||
viewMenu->AppendSeparator();
|
||||
AddMenuItem( viewMenu, ID_MENU_PCB_FLIP_VIEW,
|
||||
_( "&Flip View" ), _( "Flips (mirrors) the board view." ),
|
||||
KiBitmap( three_d_xpm ), wxITEM_CHECK );
|
||||
|
||||
|
||||
//----- Place Menu ----------------------------------------------------------
|
||||
wxMenu* placeMenu = new wxMenu;
|
||||
|
||||
|
|
Loading…
Reference in New Issue