mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX:fixed studio no response after canceling printing
Change-Id: Ic4cb35b896fd49df2cbd6676324dd80ed617db6c
This commit is contained in:
parent
bea2be1e18
commit
1252e9ab93
2 changed files with 7 additions and 2 deletions
|
@ -456,7 +456,10 @@ void PrintJob::process()
|
||||||
msg_text = send_print_failed_str;
|
msg_text = send_print_failed_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->show_error_info(msg_text, 0, "", "");
|
if (result != BAMBU_NETWORK_ERR_CANCELED) {
|
||||||
|
this->show_error_info(msg_text, 0, "", "");
|
||||||
|
}
|
||||||
|
|
||||||
BOOST_LOG_TRIVIAL(error) << "print_job: failed, result = " << result;
|
BOOST_LOG_TRIVIAL(error) << "print_job: failed, result = " << result;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -372,7 +372,9 @@ void SendJob::process()
|
||||||
msg_text = send_print_failed_str;
|
msg_text = send_print_failed_str;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->show_error_info(msg_text, 0, "", "");
|
if (result != BAMBU_NETWORK_ERR_CANCELED) {
|
||||||
|
this->show_error_info(msg_text, 0, "", "");
|
||||||
|
}
|
||||||
BOOST_LOG_TRIVIAL(error) << "send_job: failed, result = " << result;
|
BOOST_LOG_TRIVIAL(error) << "send_job: failed, result = " << result;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue