mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 00:21:36 +00:00
Allow PCBCalculator to respond to both Quit and Close.
This commit is contained in:
parent
2278f5dbca
commit
e77ff7e4e8
@ -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 -------------------------------------------------------
|
||||
//
|
||||
|
@ -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 -----------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user