FIX: Add protection for cali (for crash)
Jira: 4434 Change-Id: I2b82c68b81dd0c65fe2188ad6824f5f2dda4c8a6
This commit is contained in:
parent
90fe113341
commit
aed361805a
|
@ -1139,6 +1139,9 @@ void CalibrationPresetPage::update_combobox_filaments(MachineObject* obj)
|
||||||
{
|
{
|
||||||
if (!obj) return;
|
if (!obj) return;
|
||||||
|
|
||||||
|
if (!obj->is_info_ready())
|
||||||
|
return;
|
||||||
|
|
||||||
//step 1: update combobox filament list
|
//step 1: update combobox filament list
|
||||||
float nozzle_value = get_nozzle_value();
|
float nozzle_value = get_nozzle_value();
|
||||||
obj->cali_selected_nozzle_dia = nozzle_value;
|
obj->cali_selected_nozzle_dia = nozzle_value;
|
||||||
|
|
Loading…
Reference in New Issue