summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-06-04 08:41:23 +0200
committerGitHub <noreply@github.com>2019-06-04 08:41:23 +0200
commitc41cda79b85f6915a994c2a6cfb2cb89d950c1ef (patch)
treead09d45d4abef72ea7031028efdd5e63db6605a7
parent355a2fbbee568723a05283f9a63ad9aa30040394 (diff)
parentae021586a5291255a5f9faf8068d87367f497002 (diff)
Merge pull request #751 from isanae/close-flag-on-cancel-redux
Reset m_closing to false when the user cancels closing
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 01bb4fc1..1f5d5bdc 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1049,6 +1049,7 @@ bool MainWindow::exit()
if (QMessageBox::question(this, tr("Downloads in progress"),
tr("There are still downloads in progress, do you really want to quit?"),
QMessageBox::Yes | QMessageBox::Cancel) == QMessageBox::Cancel) {
+ m_closing = false;
return false;
} else {
m_OrganizerCore.downloadManager()->pauseAll();