Stop the pending storage check when jumping to the timelapse page

This commit is contained in:
SoftFever
2026-07-16 18:18:51 +08:00
parent 3ec074edb2
commit 4a1c53e76e

View File

@@ -3129,6 +3129,8 @@ void SelectMachineDialog::show_timelapse_storage_dialog(MachineObject* obj)
void SelectMachineDialog::navigate_to_timelapse_page()
{
if (m_timelapse_check_timer) m_timelapse_check_timer->Stop();
// EndModal closes the dialog; schedule navigation after the dialog is fully destroyed
wxGetApp().CallAfter([]() {
auto* main_frame = wxGetApp().mainframe;