7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 16:39:17 +00:00

Page layout editor: standardize zoom in and zoom out menu accelerators.

Fixes: lp:1753338

https://bugs.launchpad.net/kicad/+bug/1753338
This commit is contained in:
Wayne Stambaugh 2018-03-15 15:07:58 -04:00
parent 86603125ac
commit 5ae9ac566f

View File

@ -131,10 +131,10 @@ void PL_EDITOR_FRAME::ReCreateMenuBar()
// View Menu:
wxMenu* viewMenu = new wxMenu;
msg = AddHotkeyName( _( "Zoom In" ), PlEditorHokeysDescr, HK_ZOOM_IN );
msg = AddHotkeyName( _( "Zoom In" ), PlEditorHokeysDescr, HK_ZOOM_IN, IS_ACCELERATOR );
AddMenuItem( viewMenu, ID_ZOOM_IN, msg, wxEmptyString, KiBitmap( zoom_in_xpm ) );
msg = AddHotkeyName( _( "Zoom Out" ), PlEditorHokeysDescr, HK_ZOOM_OUT );
msg = AddHotkeyName( _( "Zoom Out" ), PlEditorHokeysDescr, HK_ZOOM_OUT, IS_ACCELERATOR );
AddMenuItem( viewMenu, ID_ZOOM_OUT, msg, wxEmptyString, KiBitmap( zoom_out_xpm ) );
msg = AddHotkeyName( _( "Zoom All" ), PlEditorHokeysDescr, HK_ZOOM_AUTO );