Fixed crash on closing the footprint editor with hot key (GAL).
This commit is contained in:
parent
a813deb579
commit
33dd214b4f
|
@ -528,6 +528,9 @@ void FOOTPRINT_EDIT_FRAME::OnCloseWindow( wxCloseEvent& Event )
|
|||
}
|
||||
}
|
||||
|
||||
if( IsGalCanvasActive() )
|
||||
GetGalCanvas()->StopDrawing();
|
||||
|
||||
//close the editor
|
||||
Destroy();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue