FIX: update the support of nozzle offset calibration
jira: [STUDIO-10758] Change-Id: I34246998b08c54ef8e44172300ab3e1d4e4bf5c4
This commit is contained in:
parent
a2bd289437
commit
f2f6b29023
|
@ -1 +1 @@
|
||||||
02.00.00.05
|
02.00.00.06
|
|
@ -982,11 +982,7 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
|
||||||
AppConfig *config = wxGetApp().app_config;
|
AppConfig *config = wxGetApp().app_config;
|
||||||
|
|
||||||
if (obj->is_enable_np) {
|
if (obj->is_enable_np) {
|
||||||
m_checkbox_list["nozzle_offset_cali"]->Show();
|
|
||||||
m_checkbox_list["nozzle_offset_cali"]->update_options(ops_auto);
|
|
||||||
m_checkbox_list["bed_leveling"]->update_options(ops_auto);
|
m_checkbox_list["bed_leveling"]->update_options(ops_auto);
|
||||||
|
|
||||||
m_checkbox_list["nozzle_offset_cali"]->setValue("auto");
|
|
||||||
m_checkbox_list["bed_leveling"]->setValue("auto");
|
m_checkbox_list["bed_leveling"]->setValue("auto");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -999,6 +995,12 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (obj->is_support_nozzle_offset_cali) {
|
||||||
|
m_checkbox_list["nozzle_offset_cali"]->update_options(ops_auto);
|
||||||
|
m_checkbox_list["nozzle_offset_cali"]->setValue("auto");
|
||||||
|
m_checkbox_list["nozzle_offset_cali"]->Show();
|
||||||
|
}
|
||||||
|
|
||||||
if (obj->is_support_flow_calibration) {
|
if (obj->is_support_flow_calibration) {
|
||||||
if (obj->is_support_auto_flow_calibration) {
|
if (obj->is_support_auto_flow_calibration) {
|
||||||
m_checkbox_list["flow_cali"]->update_options(ops_auto);
|
m_checkbox_list["flow_cali"]->update_options(ops_auto);
|
||||||
|
|
Loading…
Reference in New Issue