ENH: close the error dialog if cleared

JIRA: [STUDIO-12441]
Change-Id: Ie75cc9c1242f0e0e66ef4789debd554b089b90a0
(cherry picked from commit 9432aff5fa171da081171b58613c570bea6e4d94)
This commit is contained in:
xin.zhang
2025-07-23 17:31:37 +08:00
committed by Noisyfox
parent d1d7e87f86
commit bc13ca4622

View File

@@ -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);