mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-25 06:27:34 -07:00
FIX: clear uiop when close window
Jira: [STUDIO-14196] Change-Id: I8d701a7897acbc52fdae180fb47cadabb8e4dcc6 (cherry picked from commit 11f0285b17ffaabeb2ef2d4b9090005710bf8a87)
This commit is contained in:
parent
c9f0bdb4b8
commit
21407e91de
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue