ENH:SidePopup actively destroys the window after closing

fixed STUDIO-3525

Change-Id: I6ae33e8c73694c574a26126abbcf1074807abdd8
This commit is contained in:
tao wang 2023-07-10 17:30:12 +08:00 committed by Lane.Wei
parent 69f69b8eb3
commit dbc7e3a856
1 changed files with 1 additions and 0 deletions

View File

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