From 9704891c8f5e4fdef57cd3f784964146c2787ca5 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 12 May 2018 11:32:06 +0200 Subject: [PATCH] Cvpcb, fo viewer frame: fix a bug (close frame widget not active) due to a too zealous cleanup. --- cvpcb/display_footprints_frame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cvpcb/display_footprints_frame.cpp b/cvpcb/display_footprints_frame.cpp index a0adfb2f25..c713b38813 100644 --- a/cvpcb/display_footprints_frame.cpp +++ b/cvpcb/display_footprints_frame.cpp @@ -149,6 +149,8 @@ DISPLAY_FOOTPRINTS_FRAME::~DISPLAY_FOOTPRINTS_FRAME() void DISPLAY_FOOTPRINTS_FRAME::OnCloseWindow( wxCloseEvent& event ) { + // Currently, do nothing + event.Skip(); }