mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 01:28:37 -07:00
ENH: add notice for PrintStatusAmsMappingInvalid
JIRA: [STUDIO-14577] Change-Id: Ibcd742c109970490998fcf90f5520afcda5a4244 (cherry picked from commit 662338ab0e2e82db48dc173f3413a11302285132)
This commit is contained in:
parent
011d7041a5
commit
223eaa5d2f
3 changed files with 1 additions and 6 deletions
|
|
@ -36,7 +36,6 @@ std::string PrePrintChecker::get_print_status_info(PrintDialogStatus status)
|
|||
case PrintStatusNotSupportedPrintAll: return "PrintStatusNotSupportedPrintAll";
|
||||
case PrintStatusBlankPlate: return "PrintStatusBlankPlate";
|
||||
case PrintStatusUnsupportedPrinter: return "PrintStatusUnsupportedPrinter";
|
||||
case PrintStatusInvalidMapping: return "PrintStatusInvalidMapping";
|
||||
case PrintStatusColorQuantityExceed: return "PrintStatusColorQuantityExceed";
|
||||
// Handle filament errors
|
||||
case PrintStatusAmsOnSettingup: return "PrintStatusAmsOnSettingup";
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ enum PrintDialogStatus : unsigned int {
|
|||
PrintStatusNotSupportedPrintAll,
|
||||
PrintStatusBlankPlate,
|
||||
PrintStatusUnsupportedPrinter,
|
||||
PrintStatusInvalidMapping,
|
||||
PrintStatusPrinterErrorEnd,
|
||||
|
||||
// Errors for filament, Block Print
|
||||
|
|
|
|||
|
|
@ -1555,9 +1555,6 @@ void SelectMachineDialog::show_status(PrintDialogStatus status, std::vector<wxSt
|
|||
} else if (status == PrintDialogStatus::PrintStatusAmsOnSettingup) {
|
||||
Enable_Refresh_Button(true);
|
||||
Enable_Send_Button(false);
|
||||
} else if (status == PrintDialogStatus::PrintStatusInvalidMapping) {
|
||||
Enable_Refresh_Button(true);
|
||||
Enable_Send_Button(false);
|
||||
} else if (status == PrintDialogStatus::PrintStatusAmsMappingInvalid) {
|
||||
Enable_Refresh_Button(true);
|
||||
Enable_Send_Button(false);
|
||||
|
|
@ -3342,7 +3339,7 @@ void SelectMachineDialog::update_show_status(MachineObject* obj_)
|
|||
if (obj_->GetExtderSystem()->GetTotalExtderCount() > 1) {
|
||||
for (auto mres : m_ams_mapping_result) {
|
||||
if (mres.ams_id.empty() && mres.slot_id.empty()) {
|
||||
show_status(PrintDialogStatus::PrintStatusInvalidMapping);
|
||||
show_status(PrintDialogStatus::PrintStatusAmsMappingInvalid);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue