FIX: should not show timelapse warning when hide timelapse item
jira: STUDIO-11006 Change-Id: I4683f2c0f15e07731407c9609fda927b594eeb99
This commit is contained in:
parent
4f87d0de27
commit
8e0bfca31e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue