ENH: Revert "SidePopup actively destroys the window after closing"

This reverts commit 4e1ac98a089b4391699a333185150f468ddc42a1.

Reason for revert: bug

Change-Id: Ifc5c0596b0993d4e20f5b9e167e0ad5aaed92020
This commit is contained in:
战马 2023-07-13 17:47:38 +08:00 committed by Lane.Wei
parent 63dbbe39b9
commit a5506576fd

View File

@ -29,7 +29,6 @@ void SidePopup::OnDismiss()
{ {
Slic3r::GUI::wxGetApp().set_side_menu_popup_status(false); Slic3r::GUI::wxGetApp().set_side_menu_popup_status(false);
PopupWindow::OnDismiss(); PopupWindow::OnDismiss();
Destroy();
} }
bool SidePopup::ProcessLeftDown(wxMouseEvent& event) bool SidePopup::ProcessLeftDown(wxMouseEvent& event)