mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 12:19:51 +01:00
Fix bug where the app is closed twice
This commit is contained in:
parent
aeab55e0e0
commit
e7cded333b
|
|
@ -352,6 +352,10 @@ MainPickerWindow::schedule_timer() {
|
|||
sigc::mem_fun(this, &MainPickerWindow::on_timer_expire),
|
||||
m_timed_modification_times[0]);
|
||||
} else {
|
||||
// Disconnect ourself before calling next function,
|
||||
// which checks for connection
|
||||
m_timed_modifications_timer.disconnect();
|
||||
|
||||
// Reset the timed modifications window
|
||||
on_cancel_timed_modifications_button_clicked();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user