Add ctrl-W to 3D viewer.

Fixes: lp:1835454
* https://bugs.launchpad.net/kicad/+bug/1835454
This commit is contained in:
Jeff Young 2019-08-04 21:57:04 -06:00
parent 91446c1515
commit 6069263beb
2 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,8 @@ void EDA_3D_VIEWER::CreateMenuBar()
export_xpm, SELECTION_CONDITIONS::ShowAlways );
fileMenu->AddSeparator();
fileMenu->AddItem( wxID_CLOSE, _( "Close" ), "", exit_xpm, SELECTION_CONDITIONS::ShowAlways );
fileMenu->AddItem( wxID_CLOSE, _( "Close\tCTRL+W" ), "",
exit_xpm, SELECTION_CONDITIONS::ShowAlways );
fileMenu->Resolve();

View File

@ -105,7 +105,8 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar()
fileMenu->AddItem( ACTIONS::print, haveFootprintCondition );
fileMenu->AddSeparator();
fileMenu->AddItem( wxID_CLOSE, _( "Close\tCTRL+W" ), "", exit_xpm, SELECTION_CONDITIONS::ShowAlways );
fileMenu->AddItem( wxID_CLOSE, _( "Close\tCTRL+W" ), "",
exit_xpm, SELECTION_CONDITIONS::ShowAlways );
fileMenu->Resolve();