From 0091cb3f23203d1ed3d3ab26ec61c32829ab2088 Mon Sep 17 00:00:00 2001 From: Louis-Bertrand Varin Date: Sat, 28 Jan 2017 22:02:35 -0500 Subject: [PATCH] Fixes database modified after discard --- src/gui/DatabaseTabWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/DatabaseTabWidget.cpp b/src/gui/DatabaseTabWidget.cpp index af6907001..a227cdbeb 100644 --- a/src/gui/DatabaseTabWidget.cpp +++ b/src/gui/DatabaseTabWidget.cpp @@ -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;