FIX: clear the tips

jira: [STUDIO-11447]
Change-Id: Ia45b4a18ced5c040cfd6849fca3952780c69432d
This commit is contained in:
xin.zhang 2025-04-09 16:19:18 +08:00 committed by lane.wei
parent 6f3b3839e2
commit 2de0aa658c
1 changed files with 1 additions and 0 deletions

View File

@ -2468,6 +2468,7 @@ void SelectMachineDialog::load_option_vals(MachineObject *obj)
wxString error_messgae;
if (obj->canEnableTimelapse(error_messgae) && !has_timelapse_warning(error_messgae)) {
m_checkbox_list["timelapse"]->enable(true);
m_checkbox_list["timelapse"]->update_tooltip(wxEmptyString);
} else {
m_checkbox_list["timelapse"]->enable(false);
m_checkbox_list["timelapse"]->setValue("off");