FIX: should not show timelapse warning when hide timelapse item

jira: STUDIO-11006
Change-Id: I4683f2c0f15e07731407c9609fda927b594eeb99
This commit is contained in:
zhimin.zeng 2025-03-20 17:50:43 +08:00 committed by lane.wei
parent 4f87d0de27
commit 8e0bfca31e
1 changed files with 4 additions and 0 deletions

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