FIX:remove the function of using ams
jira:[STUDIO-11466] Change-Id: Iaba4b22d31572af3a08dddc966b84667ff8f60da
This commit is contained in:
parent
1c8c99a430
commit
f262e7d7a2
|
@ -616,10 +616,6 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater)
|
|||
"use_ams"
|
||||
);
|
||||
|
||||
option_use_ams->Bind(EVT_SWITCH_PRINT_OPTION, [this](auto& e) {
|
||||
m_ams_mapping_result.clear();//clear and Scheduled call update_show_status
|
||||
});
|
||||
|
||||
option_use_ams->setValue("on");
|
||||
|
||||
m_sizer_options = new wxGridSizer(0, 2, FromDIP(5), FromDIP(40));
|
||||
|
@ -648,11 +644,6 @@ SelectMachineDialog::SelectMachineDialog(Plater *plater)
|
|||
for (auto print_opt : m_checkbox_list_order) {
|
||||
if (print_opt != option_use_ams) {
|
||||
print_opt->Bind(EVT_SWITCH_PRINT_OPTION, [this](auto &e) { save_option_vals();});
|
||||
} else{
|
||||
option_use_ams->Bind(EVT_SWITCH_PRINT_OPTION, [this](auto &e) {
|
||||
m_ams_mapping_result.clear(); // clear and Scheduled call update_show_status
|
||||
save_option_vals();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue