mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: clear uiop when close window
Jira: [STUDIO-14196] Change-Id: I8d701a7897acbc52fdae180fb47cadabb8e4dcc6 (cherry picked from commit 11f0285b17ffaabeb2ef2d4b9090005710bf8a87)
This commit is contained in:
@@ -85,6 +85,10 @@ DeviceErrorDialog::DeviceErrorDialog(MachineObject* obj, wxWindow* parent, wxWin
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
|
||||
Bind(wxEVT_WEBREQUEST_STATE, &DeviceErrorDialog::on_webrequest_state, this);
|
||||
Bind(wxEVT_CLOSE_WINDOW, [this](wxCloseEvent &e){
|
||||
if (m_obj) { m_obj->command_clean_print_error_uiop(m_obj->print_error); }
|
||||
e.Skip();
|
||||
});
|
||||
}
|
||||
|
||||
DeviceErrorDialog::~DeviceErrorDialog()
|
||||
|
||||
Reference in New Issue
Block a user