Don't inadvertantly strip hotkey off Save All Libraries.

Fixes: lp:1786066
* https://bugs.launchpad.net/kicad/+bug/1786066
This commit is contained in:
Jeff Young 2018-08-26 00:32:09 +01:00
parent 3587789ae2
commit e424f29bbb
1 changed files with 3 additions and 1 deletions

View File

@ -594,7 +594,9 @@ void LIB_EDIT_FRAME::OnUpdateSaveAll( wxUpdateUIEvent& event )
break;
}
event.SetText( modified > 1 ? _( "Save All &Libraries..." ) : _( "Save All &Libraries" ) );
wxString text = modified > 1 ? _( "Save All &Libraries..." ) : _( "Save All &Libraries" );
event.SetText( AddHotkeyName( text, g_Libedit_Hokeys_Descr, HK_SAVE_ALL_LIBS ) );
event.Enable( modified > 0 );
}