FIX: should not show timelapse warning when hide timelapse item

jira: STUDIO-11006
Change-Id: I4683f2c0f15e07731407c9609fda927b594eeb99
(cherry picked from commit 8e0bfca31ebbebd0ef337ea6d356210426826f86)
This commit is contained in:
zhimin.zeng 2025-03-20 17:50:43 +08:00 committed by Noisyfox
parent 6b282809f8
commit eb8eb5efd1

View file

@ -1043,6 +1043,10 @@ void SelectMachineDialog::update_select_layout(MachineObject *obj)
else
{
m_checkbox_list["timelapse"]->Hide();
m_checkbox_list["timelapse"]->setValue("off");
AppConfig *config = wxGetApp().app_config;
if (config)
config->set_str("print", "timelapse", "0");
}
Layout();