Addressed comments; further streamlined code

This commit is contained in:
Jonathan White
2017-11-26 22:30:18 -05:00
parent c2d04499ab
commit a80d1bbd2b
2 changed files with 19 additions and 15 deletions

View File

@@ -1287,6 +1287,7 @@ void DatabaseWidget::reloadDatabaseFile()
tr("Could not open the new database file while attempting to autoreload this database.")
.append("\n").append(file.errorString()),
MessageWidget::Error);
// HACK: Directly calling the database's signal
// Mark db as modified since existing data may differ from file or file was deleted
m_db->modified();
}