FIX: clear the tips

jira: [STUDIO-11447]
Change-Id: Ia45b4a18ced5c040cfd6849fca3952780c69432d
(cherry picked from commit 2de0aa658ca676bf9d782fbd90628769cca71590)
This commit is contained in:
xin.zhang 2025-04-09 16:19:18 +08:00 committed by Noisyfox
parent 50fdb74003
commit 8b4388236d

View file

@ -2463,6 +2463,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");