FIX:fixed the crash when sent print when no printer available
Change-Id: I2974ff7c3f7e753239718f9bfd8b4977672dc651
This commit is contained in:
parent
2a75d397c4
commit
9f3c98dcfb
|
@ -3725,7 +3725,7 @@ void SelectMachineDialog::update_ams_check(MachineObject *obj)
|
|||
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()
|
||||
|
|
Loading…
Reference in New Issue