diff options
author | Jonathan Bauer | 2017-10-09 17:29:18 +0200 |
---|---|---|
committer | Jonathan Bauer | 2017-10-09 17:29:18 +0200 |
commit | 7d4f7c082496708df57d73cc1081394057779fec (patch) | |
tree | b9169562b785a6b6bc24521cb5a3b76f1d9f6845 | |
parent | Reset 'autoquit' on user interaction (diff) | |
download | vmchooser2-7d4f7c082496708df57d73cc1081394057779fec.tar.gz vmchooser2-7d4f7c082496708df57d73cc1081394057779fec.tar.xz vmchooser2-7d4f7c082496708df57d73cc1081394057779fec.zip |
stop the auto-center/auto-quit timer in a session
-rw-r--r-- | src/dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp index efe659d..0de9e93 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -184,7 +184,7 @@ void Dialog::on_treeView_doubleClicked(const QModelIndex& index) } ChooserSettings::setSetting("last-session", (s->shortDescription())); ChooserSettings::setSetting("last-tab", QString::number(activeTab_)); - autoQuit_ = 0; // So we don't kill the session :> + centerTimer_->stop(); // Stop the auto-center/auto-quit timer, so we don't kill the session :> setVisible(false); } else { QMessageBox::warning( |