mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX:fixed the mall system dialog not being destroyed
Change-Id: Ie453bdbb41e59da69987e24a7c2d5cc9f378aee4
This commit is contained in:
parent
7f3d9a8edd
commit
0320872e4e
3 changed files with 17 additions and 0 deletions
|
@ -4950,6 +4950,20 @@ void GUI_App::open_publish_page_dialog()
|
|||
}
|
||||
}
|
||||
|
||||
void GUI_App::remove_mall_system_dialog()
|
||||
{
|
||||
if (m_mall_publish_dialog != nullptr) {
|
||||
m_mall_publish_dialog->Destroy();
|
||||
delete m_mall_publish_dialog;
|
||||
}
|
||||
|
||||
|
||||
if (m_mall_home_dialog != nullptr) {
|
||||
m_mall_home_dialog->Destroy();
|
||||
delete m_mall_home_dialog;
|
||||
}
|
||||
}
|
||||
|
||||
void GUI_App::run_script(wxString js)
|
||||
{
|
||||
if (mainframe)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue