Fix bug where the app is closed twice

This commit is contained in:
William Pierce 2020-05-18 02:46:10 -07:00
parent aeab55e0e0
commit e7cded333b

View File

@ -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();