FIX:fixed the crash when sent print when no printer available

Change-Id: I2974ff7c3f7e753239718f9bfd8b4977672dc651
This commit is contained in:
tao wang 2024-10-16 14:48:20 +08:00 committed by lane.wei
parent 2a75d397c4
commit 9f3c98dcfb
1 changed files with 1 additions and 1 deletions

View File

@ -3725,7 +3725,7 @@ void SelectMachineDialog::update_ams_check(MachineObject *obj)
select_use_ams->Hide(); select_use_ams->Hide();
}*/ }*/
if (obj->is_enable_np) { m_checkbox_list["use_ams"]->SetValue(true); } if (obj && obj->is_enable_np) { m_checkbox_list["use_ams"]->SetValue(true); }
} }
void SelectMachineDialog::update_show_status() void SelectMachineDialog::update_show_status()