Allow PCBCalculator to respond to both Quit and Close.

This commit is contained in:
Jeff Young 2023-06-28 15:00:26 +01:00
parent 2278f5dbca
commit e77ff7e4e8
2 changed files with 3 additions and 1 deletions

View File

@ -86,7 +86,8 @@ void PL_EDITOR_FRAME::doReCreateMenuBar()
fileMenu->Add( ACTIONS::print );
fileMenu->AppendSeparator();
fileMenu->AddQuitOrClose( &Kiface(), _( "Drawing Sheet Editor" ) );
fileMenu->AddClose( _( "Drawing Sheet Editor" ) );
fileMenu->AddQuit( _( "Drawing Sheet Editor" ) );
//-- Edit menu -------------------------------------------------------
//

View File

@ -206,6 +206,7 @@ void PCB_CALCULATOR_FRAME::doReCreateMenuBar()
//
ACTION_MENU* fileMenu = new ACTION_MENU( false, tool );
fileMenu->AddClose( _( "Calculator Tools" ) );
fileMenu->AddQuit( _( "Calculator Tools" ) );
//-- Preferences menu -----------------------------------------------