mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
ENH: add notice for PrintStatusAmsMappingInvalid
JIRA: [STUDIO-14577] Change-Id: Ibcd742c109970490998fcf90f5520afcda5a4244 (cherry picked from commit 662338ab0e2e82db48dc173f3413a11302285132)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user