mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-11 19:35:38 -05:00
setLayout to create layout-only edit mode
This commit is contained in:
@@ -154,5 +154,6 @@ void Map::clean() {
|
||||
}
|
||||
|
||||
bool Map::hasUnsavedChanges() {
|
||||
return !editHistory.isClean() /* || !this->layout->editHistory.isClean() */ || hasUnsavedDataChanges || !isPersistedToFile;
|
||||
// !TODO: layout not working here? map needs to be in cache before the layout being edited works
|
||||
return !editHistory.isClean() || !this->layout->editHistory.isClean() || hasUnsavedDataChanges || !isPersistedToFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user