ENH: add print error in cmd clean_print_error

Change-Id: I22328a8be58c9896c40eb5f270e8a08e4469bd7d
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2023-04-06 08:21:59 +08:00 committed by Lane.Wei
parent 92255cbede
commit 464af822e1
3 changed files with 4 additions and 3 deletions

View file

@ -1622,7 +1622,7 @@ void StatusPanel::show_error_message(MachineObject* obj, wxString msg, std::stri
m_print_error_dlg->Bind(EVT_SECONDARY_CHECK_CONFIRM, [this, obj](wxCommandEvent& e) {
if (obj) {
obj->command_clean_print_error(obj->subtask_id_);
obj->command_clean_print_error(obj->subtask_id_, obj->print_error);
}
});