From bc13ca46226449dd77d6f1c176b1dc7069e9f69f Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Wed, 23 Jul 2025 17:31:37 +0800 Subject: [PATCH] ENH: close the error dialog if cleared JIRA: [STUDIO-12441] Change-Id: Ie75cc9c1242f0e0e66ef4789debd554b089b90a0 (cherry picked from commit 9432aff5fa171da081171b58613c570bea6e4d94) --- src/slic3r/GUI/StatusPanel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index 4e28facc95..6458b32e5b 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -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);