From ae021586a5291255a5f9faf8068d87367f497002 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Mon, 3 Jun 2019 19:18:09 -0400 Subject: reset m_closing to false when the user cancels closing --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainwindow.cpp') 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(); -- cgit v1.3.1