summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-03 19:18:09 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-03 19:18:09 -0400
commitae021586a5291255a5f9faf8068d87367f497002 (patch)
treead09d45d4abef72ea7031028efdd5e63db6605a7 /src/mainwindow.cpp
parent355a2fbbee568723a05283f9a63ad9aa30040394 (diff)
reset m_closing to false when the user cancels closing
Diffstat (limited to 'src/mainwindow.cpp')
-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();