Fix duplicate menu shortcuts in Eeschema View menu.

Both "Leave Sheet" and "Library Browser" menu entries were mapped to the
'L' key.  Mapped the "Library Browser" entry to the 'B' key.

Fix "Show hidden pins" menu entry capitalization.

Map "Show Hidden Pins" to 'P' key and "Full Window Crosshair" to 'W' key.

Fixes lp:1768671

https://bugs.launchpad.net/kicad/+bug/1768671
This commit is contained in:
Wayne Stambaugh 2018-05-03 10:49:44 -04:00
parent 7c7a6ea979
commit 0f5eb421b3
1 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ void prepareViewMenu( wxMenu* aParentMenu )
AddMenuItem( aParentMenu, AddMenuItem( aParentMenu,
ID_TO_LIBVIEW, ID_TO_LIBVIEW,
_( "&Library Browser" ), HELP_RUN_LIB_VIEWER, _( "Library &Browser" ), HELP_RUN_LIB_VIEWER,
KiBitmap( library_browse_xpm ) ); KiBitmap( library_browse_xpm ) );
AddMenuItem( aParentMenu, AddMenuItem( aParentMenu,
@ -209,12 +209,12 @@ void prepareViewMenu( wxMenu* aParentMenu )
#ifndef __APPLE__ #ifndef __APPLE__
AddMenuItem( aParentMenu, ID_TB_OPTIONS_SELECT_CURSOR, AddMenuItem( aParentMenu, ID_TB_OPTIONS_SELECT_CURSOR,
_( "Full Window Crosshair" ), _( "Full &Window Crosshair" ),
_( "Change cursor shape" ), _( "Change cursor shape" ),
KiBitmap( cursor_shape_xpm ), wxITEM_CHECK ); KiBitmap( cursor_shape_xpm ), wxITEM_CHECK );
#else #else
AddMenuItem( aParentMenu, ID_TB_OPTIONS_SELECT_CURSOR, AddMenuItem( aParentMenu, ID_TB_OPTIONS_SELECT_CURSOR,
_( "Full Window Crosshair" ), _( "Full &Window Crosshair" ),
_( "Change cursor shape (not supported in Legacy graphics)" ), _( "Change cursor shape (not supported in Legacy graphics)" ),
KiBitmap( cursor_shape_xpm ), wxITEM_CHECK ); KiBitmap( cursor_shape_xpm ), wxITEM_CHECK );
#endif #endif
@ -222,7 +222,7 @@ void prepareViewMenu( wxMenu* aParentMenu )
aParentMenu->AppendSeparator(); aParentMenu->AppendSeparator();
AddMenuItem( aParentMenu, ID_TB_OPTIONS_HIDDEN_PINS, AddMenuItem( aParentMenu, ID_TB_OPTIONS_HIDDEN_PINS,
_( "Show hidden pins" ), _( "Show Hidden &Pins" ),
wxEmptyString, wxEmptyString,
KiBitmap( hidden_pin_xpm ), wxITEM_CHECK ); KiBitmap( hidden_pin_xpm ), wxITEM_CHECK );