FIX: fix use ams always checked

Change-Id: Iaf4e894bab3ca2bd2f57e174ad4fcae517ec20cf
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-11-28 09:43:14 +08:00 committed by Lane.Wei
parent fe3a1f724c
commit 5b7ebc3684
1 changed files with 0 additions and 2 deletions

View File

@ -2382,8 +2382,6 @@ void SelectMachineDialog::update_ams_check(MachineObject* obj)
&& obj->ams_support_use_ams && obj->ams_support_use_ams
&& obj->has_ams()) { && obj->has_ams()) {
select_use_ams->Show(); select_use_ams->Show();
// set ams_check to true by default
ams_check->SetValue(true);
} else { } else {
select_use_ams->Hide(); select_use_ams->Hide();
} }