mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Stope event propagation when closing project.
Fixes https://gitlab.com/kicad/code/kicad/issues/8638
This commit is contained in:
parent
9d587e3e6e
commit
47cb7f53fd
@ -360,6 +360,9 @@ bool KICAD_MANAGER_FRAME::canCloseWindow( wxCloseEvent& aEvent )
|
||||
// If any of them cancel then we need to cancel closing the KICAD_MANAGER_FRAME.
|
||||
if( CloseProject( true ) )
|
||||
{
|
||||
// Don't propagate event to frames which have already been closed
|
||||
aEvent.StopPropagation();
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user