FIX:remove the function of using ams

jira:[STUDIO-11466]

Change-Id: Iaba4b22d31572af3a08dddc966b84667ff8f60da
This commit is contained in:
tao wang 2025-04-10 09:47:50 +08:00 committed by lane.wei
parent 1c8c99a430
commit f262e7d7a2
1 changed files with 0 additions and 9 deletions

View File

@ -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();
});
}
}