mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: Cannot send the print job when the printer is not at FDM mode
jira: [STUDIO-10571] Change-Id: I20c02b79d09400dce2089856fde98d0cd50713ff (cherry picked from commit d327fa91781bbc568b26ba147f9dd9f625ff1022)
This commit is contained in:
@@ -1773,6 +1773,8 @@ void SelectMachineDialog::show_status(PrintDialogStatus status, std::vector<wxSt
|
||||
} else if (status == PrintDialogStatus::PrintStatusReadingTimeout) {
|
||||
wxString msg_text = _L("Synchronizing device information time out");
|
||||
update_print_status_msg(msg_text, true, true, true);
|
||||
} else if (status == PrintDialogStatus::PrintStatusModeNotFDM) {
|
||||
update_print_status_msg(_L("Cannot send the print job when the printer is not at FDM mode"), true, false, true);
|
||||
} else if (status == PrintDialogStatus::PrintStatusInUpgrading) {
|
||||
wxString msg_text = _L("Cannot send the print job when the printer is updating firmware");
|
||||
update_print_status_msg(msg_text, true, false, true);
|
||||
@@ -3285,6 +3287,12 @@ void SelectMachineDialog::update_show_status()
|
||||
}
|
||||
}
|
||||
|
||||
if (!obj_->is_fdm_type())
|
||||
{
|
||||
show_status(PrintDialogStatus::PrintStatusModeNotFDM);
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_blocking_printing(obj_)) {
|
||||
show_status(PrintDialogStatus::PrintStatusUnsupportedPrinter);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user