Remove lock file and cleanup file handling [#1002]

This commit is contained in:
Jonathan White committed 2018-01-04 19:09:36 -05:00
1 parent a5a5c6723e
commit c2d04499ab
3 files changed
+44 -153

No files matched your search

+4 -1
View File
@@ -1284,8 +1284,11 @@ void DatabaseWidget::reloadDatabaseFile()
}
} else {
m_messageWidget->showMessage(
tr("Could not open the new database file while attempting to autoreload this database."),
tr("Could not open the new database file while attempting to autoreload this database.")
.append("\n").append(file.errorString()),
MessageWidget::Error);
// Mark db as modified since existing data may differ from file or file was deleted
m_db->modified();
}
// Rewatch the database file