Browse Source

Fixed crash on closing the footprint editor with hot key (GAL).

pull/7/head
Maciej Suminski 10 years ago
parent
commit
33dd214b4f
  1. 3
      pcbnew/moduleframe.cpp

3
pcbnew/moduleframe.cpp

@ -528,6 +528,9 @@ void FOOTPRINT_EDIT_FRAME::OnCloseWindow( wxCloseEvent& Event )
}
}
if( IsGalCanvasActive() )
GetGalCanvas()->StopDrawing();
//close the editor
Destroy();
}

Loading…
Cancel
Save