Add missing hotkey to help menu

This commit is contained in:
jean-pierre charras 2018-02-15 09:23:06 +01:00
parent b8c00a0d07
commit dded3429fd
5 changed files with 8 additions and 5 deletions

View File

@ -564,9 +564,10 @@ void prepareHelpMenu( wxMenu* aParentMenu )
_( "Open \"Getting Started in KiCad\" guide for beginners" ),
KiBitmap( help_xpm ) );
wxString text = AddHotkeyName( _( "&List Hotkeys..." ), g_Eeschema_Hokeys_Descr, HK_HELP );
AddMenuItem( aParentMenu,
ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
_( "&List Hotkeys..." ),
text,
_( "Displays current hotkeys list and corresponding commands" ),
KiBitmap( hotkeys_xpm ) );

View File

@ -327,9 +327,10 @@ void LIB_EDIT_FRAME::ReCreateMenuBar()
_( "Open the \"Getting Started in KiCad\" guide for beginners" ),
KiBitmap( help_xpm ) );
text = AddHotkeyName( _( "&List Hotkeys..." ), g_Eeschema_Hokeys_Descr, HK_HELP );
AddMenuItem( helpMenu,
ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
_( "&List Hotkeys..." ),
text,
_( "Displays the current hotkeys list and corresponding commands" ),
KiBitmap( hotkeys_xpm ) );

View File

@ -1137,7 +1137,6 @@ bool DIALOG_PAD_PROPERTIES::padValuesOK()
#if 0
if( m_dummyPad->GetLocalSolderPasteMargin() > 0 )
{
//error_msgs.Add( _( "Pad local solder paste clearance must be zero or less than zero" ) );
if( !IsOK( this, _( "Pad local solder paste clearance is greater than 0\n"
"The solder paste area will be bigger than the pad area.\n"
"This is unusual. Are you sure?)" ) ) )

View File

@ -364,8 +364,9 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar()
_( "Open the \"Getting Started in KiCad\" guide for beginners" ),
KiBitmap( help_xpm ) );
text = AddHotkeyName( _( "&List Hotkeys..." ), g_Pcbnew_Editor_Hokeys_Descr, HK_HELP );
AddMenuItem( helpMenu, ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
_( "&List Hotkeys" ),
text,
_( "Displays current hotkeys table and corresponding commands" ),
KiBitmap( hotkeys_xpm ) );

View File

@ -438,8 +438,9 @@ void prepareHelpMenu( wxMenu* aParentMenu )
_( "Open \"Getting Started in KiCad\" guide for beginners" ),
KiBitmap( help_xpm ) );
wxString text = AddHotkeyName( _( "&List Hotkeys..." ), g_Pcbnew_Editor_Hokeys_Descr, HK_HELP );
AddMenuItem( aParentMenu, ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
_( "&List Hotkeys" ),
text,
_( "Display current hotkeys list and corresponding commands" ),
KiBitmap( hotkeys_xpm ) );