ENH:printer errors will no longer automatically close

Change-Id: Ib2444469be889bb6bc7fd58fac45adb4e121651e
This commit is contained in:
tao wang 2023-05-31 11:47:24 +08:00 committed by Lane.Wei
parent 3a1e112d49
commit 52aecca564
1 changed files with 2 additions and 2 deletions

View File

@ -1683,9 +1683,9 @@ void StatusPanel::show_error_message(MachineObject* obj, wxString msg, std::stri
error_info_reset();
}
if (m_print_error_dlg != nullptr) {
if (m_print_error_dlg->IsShown()) {
/*if (m_print_error_dlg->IsShown()) {
m_print_error_dlg->on_hide();
}
}*/
}
} else {
m_error_text->SetLabel(msg);