FIX:fixed studio no response after canceling printing
Change-Id: Ic4cb35b896fd49df2cbd6676324dd80ed617db6c
This commit is contained in:
parent
bea2be1e18
commit
1252e9ab93
|
@ -456,7 +456,10 @@ void PrintJob::process()
|
|||
msg_text = send_print_failed_str;
|
||||
}
|
||||
|
||||
if (result != BAMBU_NETWORK_ERR_CANCELED) {
|
||||
this->show_error_info(msg_text, 0, "", "");
|
||||
}
|
||||
|
||||
BOOST_LOG_TRIVIAL(error) << "print_job: failed, result = " << result;
|
||||
|
||||
} else {
|
||||
|
|
|
@ -372,7 +372,9 @@ void SendJob::process()
|
|||
msg_text = send_print_failed_str;
|
||||
}
|
||||
|
||||
if (result != BAMBU_NETWORK_ERR_CANCELED) {
|
||||
this->show_error_info(msg_text, 0, "", "");
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(error) << "send_job: failed, result = " << result;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue