From a3483f44d207e6fbc718ab2f73fc109fc2936a5d Mon Sep 17 00:00:00 2001 From: Michael Kavanagh Date: Thu, 9 May 2019 23:44:45 +0100 Subject: [PATCH] Add Save As hotkey to footprint editor Fixes: lp:1828481 * https://bugs.launchpad.net/kicad/+bug/1828481 --- pcbnew/menubar_footprint_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/menubar_footprint_editor.cpp b/pcbnew/menubar_footprint_editor.cpp index 1b02834cdc..d8513dada6 100644 --- a/pcbnew/menubar_footprint_editor.cpp +++ b/pcbnew/menubar_footprint_editor.cpp @@ -85,8 +85,8 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar() _( "Save changes" ), KiBitmap( save_xpm ) ); - AddMenuItem( fileMenu, ID_MODEDIT_SAVE_AS, - _( "Save &As..." ), + text = AddHotkeyName( _( "Save &As..." ), m_hotkeysDescrList, HK_SAVEAS ); + AddMenuItem( fileMenu, ID_MODEDIT_SAVE_AS, text, _( "Save a copy to a new name and/or location" ), KiBitmap( save_as_xpm ) );