Fixes database modified after discard

This commit is contained in:
Louis-Bertrand Varin 2017-01-28 22:02:35 -05:00 committed by Jonathan White
parent 2afd21c7ba
commit 0091cb3f23

View File

@ -716,6 +716,7 @@ void DatabaseTabWidget::lockDatabases()
}
else if (result == QMessageBox::Discard) {
m_dbList[db].modified = false;
m_dbList[db].dbWidget->databaseSaved();
}
else if (result == QMessageBox::Cancel) {
continue;