mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: close the error dialog if cleared
JIRA: [STUDIO-12441] Change-Id: Ie75cc9c1242f0e0e66ef4789debd554b089b90a0 (cherry picked from commit 9432aff5fa171da081171b58613c570bea6e4d94)
This commit is contained in:
@@ -2729,6 +2729,8 @@ void StatusPanel::show_error_message(MachineObject *obj, bool is_exist, wxString
|
||||
|
||||
if (is_exist && msg.IsEmpty()) {
|
||||
error_info_reset();
|
||||
if (m_print_error_dlg) { m_print_error_dlg->Hide();}
|
||||
if (m_print_error_dlg_no_action) { m_print_error_dlg_no_action->Hide(); }
|
||||
} else {
|
||||
m_project_task_panel->show_error_msg(msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user