Build new maps in memory, rather than immediately writing to files

This commit is contained in:
Marcus Huderle
2018-02-15 20:15:25 -08:00
parent 40a0fbee02
commit 5c0f628f0d
5 changed files with 249 additions and 132 deletions

View File

@@ -732,5 +732,5 @@ void Map::addEvent(Event *event) {
}
bool Map::hasUnsavedChanges() {
return !history.isSaved();
return !history.isSaved() || !isPersistedToFile;
}