Fixed commit c8f02fd - logic bug with close window flag (#826)

This commit is contained in:
a1ext 2018-10-14 18:43:15 +03:00 committed by xarkes
parent bd600ee737
commit ff4bbb9aa0

View File

@ -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)