mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-31 13:57:07 +00:00
Stop the pending storage check when jumping to the timelapse page
This commit is contained in:
@@ -3129,6 +3129,8 @@ void SelectMachineDialog::show_timelapse_storage_dialog(MachineObject* obj)
|
|||||||
|
|
||||||
void SelectMachineDialog::navigate_to_timelapse_page()
|
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
|
// EndModal closes the dialog; schedule navigation after the dialog is fully destroyed
|
||||||
wxGetApp().CallAfter([]() {
|
wxGetApp().CallAfter([]() {
|
||||||
auto* main_frame = wxGetApp().mainframe;
|
auto* main_frame = wxGetApp().mainframe;
|
||||||
|
|||||||
Reference in New Issue
Block a user