Add Ctrl-Q symbol to quit items in menus.

Fixes https://gitlab.com/kicad/code/kicad/issues/8391
This commit is contained in:
Jeff Young 2021-06-12 11:58:58 +01:00
parent 9328c78b08
commit db8cbad2d7
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ void ACTION_MENU::AddQuitOrClose( KIFACE_I* aKiface, wxString aAppname )
{ {
// Don't use ACTIONS::quit; wxWidgets moves this on OSX and expects to find it via // Don't use ACTIONS::quit; wxWidgets moves this on OSX and expects to find it via
// wxID_EXIT // wxID_EXIT
Add( _( "Quit" ), Add( _( "Quit" ) + "\tCtrl+Q",
wxString::Format( _( "Quit %s" ), aAppname ), wxString::Format( _( "Quit %s" ), aAppname ),
wxID_EXIT, wxID_EXIT,
BITMAPS::exit ); BITMAPS::exit );