From ff4bbb9aa03144eded1fc9dc3f6da8c5ef36cadb Mon Sep 17 00:00:00 2001 From: a1ext Date: Sun, 14 Oct 2018 18:43:15 +0300 Subject: [PATCH] Fixed commit c8f02fd - logic bug with close window flag (#826) --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index f80620c7..b45107bc 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -421,7 +421,7 @@ bool MainWindow::saveProject(bool quit) bool MainWindow::saveProjectAs(bool quit) { SaveProjectDialog dialog(quit, this); - return SaveProjectDialog::Rejected == dialog.exec(); + return SaveProjectDialog::Rejected != dialog.exec(); } void MainWindow::refreshOmniBar(const QStringList &flags)