From 1a414a29e66bda46a0bf074f12bee62a265749bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=98=E9=A9=AC?= Date: Thu, 13 Jul 2023 17:47:38 +0800 Subject: [PATCH] ENH: Revert "SidePopup actively destroys the window after closing" This reverts commit 4e1ac98a089b4391699a333185150f468ddc42a1. Reason for revert: bug Change-Id: Ifc5c0596b0993d4e20f5b9e167e0ad5aaed92020 --- src/slic3r/GUI/Widgets/SideMenuPopup.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/slic3r/GUI/Widgets/SideMenuPopup.cpp b/src/slic3r/GUI/Widgets/SideMenuPopup.cpp index 9ca1b0df4aa..b50ed6b6050 100644 --- a/src/slic3r/GUI/Widgets/SideMenuPopup.cpp +++ b/src/slic3r/GUI/Widgets/SideMenuPopup.cpp @@ -29,7 +29,6 @@ void SidePopup::OnDismiss() { Slic3r::GUI::wxGetApp().set_side_menu_popup_status(false); PopupWindow::OnDismiss(); - Destroy(); } bool SidePopup::ProcessLeftDown(wxMouseEvent& event)