mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
ENH: update Send to print dialog
jira: [STUDIO-11230][STUDIO-11260][STUDIO-11259] Change-Id: I6fdbeebf2a491f354c122eb35e5858bd6e72591c (cherry picked from commit f3992d3e9420e0bd4987c6ca4cfe96f9f35bdcd1)
This commit is contained in:
@@ -128,13 +128,13 @@ void SyncAmsInfoDialog::update_select_layout(MachineObject *obj)
|
||||
|
||||
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["nozzle_offset_cali"]->update_options(ops_auto, wxEmptyString);
|
||||
m_checkbox_list["bed_leveling"]->update_options(ops_auto, wxEmptyString);
|
||||
|
||||
m_checkbox_list["nozzle_offset_cali"]->setValue("auto");
|
||||
m_checkbox_list["bed_leveling"]->setValue("auto");
|
||||
} else {
|
||||
m_checkbox_list["bed_leveling"]->update_options(ops_no_auto);
|
||||
m_checkbox_list["bed_leveling"]->update_options(ops_no_auto, wxEmptyString);
|
||||
|
||||
if (config && config->get("print", "bed_leveling") == "0") {
|
||||
m_checkbox_list["bed_leveling"]->setValue("off");
|
||||
|
||||
Reference in New Issue
Block a user