Don't exit KiCad when simulator window is closed.
This commit is contained in:
parent
f7a552a2b3
commit
51b6ec0dce
|
@ -3029,9 +3029,13 @@ void SIMULATOR_FRAME::onSimReport( wxCommandEvent& aEvent )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SIMULATOR_FRAME::onExit( wxCommandEvent& event )
|
void SIMULATOR_FRAME::onExit( wxCommandEvent& aEvent )
|
||||||
{
|
{
|
||||||
|
if( aEvent.GetId() == wxID_EXIT )
|
||||||
Kiway().OnKiCadExit();
|
Kiway().OnKiCadExit();
|
||||||
|
|
||||||
|
if( aEvent.GetId() == wxID_CLOSE )
|
||||||
|
Close( false );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue