From 290a379c3850ed24be492b405254d37c35f358cb Mon Sep 17 00:00:00 2001 From: tao wang Date: Thu, 10 Apr 2025 09:47:50 +0800 Subject: [PATCH] FIX:remove the function of using ams jira:[STUDIO-11466] Change-Id: Iaba4b22d31572af3a08dddc966b84667ff8f60da (cherry picked from commit f262e7d7a2ff3da8f200d2917650ac0766e33dca) --- src/slic3r/GUI/SelectMachine.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/slic3r/GUI/SelectMachine.cpp b/src/slic3r/GUI/SelectMachine.cpp index 227a0d80da..aaaa204707 100644 --- a/src/slic3r/GUI/SelectMachine.cpp +++ b/src/slic3r/GUI/SelectMachine.cpp @@ -614,10 +614,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)); @@ -646,11 +642,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(); - }); } }