From dbc7e3a856322db60253b59ababd29f38cb3432d Mon Sep 17 00:00:00 2001 From: tao wang Date: Mon, 10 Jul 2023 17:30:12 +0800 Subject: [PATCH] ENH:SidePopup actively destroys the window after closing fixed STUDIO-3525 Change-Id: I6ae33e8c73694c574a26126abbcf1074807abdd8 --- src/slic3r/GUI/Widgets/SideMenuPopup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/GUI/Widgets/SideMenuPopup.cpp b/src/slic3r/GUI/Widgets/SideMenuPopup.cpp index b50ed6b60..9ca1b0df4 100644 --- a/src/slic3r/GUI/Widgets/SideMenuPopup.cpp +++ b/src/slic3r/GUI/Widgets/SideMenuPopup.cpp @@ -29,6 +29,7 @@ void SidePopup::OnDismiss() { Slic3r::GUI::wxGetApp().set_side_menu_popup_status(false); PopupWindow::OnDismiss(); + Destroy(); } bool SidePopup::ProcessLeftDown(wxMouseEvent& event)