cleanup shortcuts

This commit is contained in:
garak
2024-04-18 12:21:09 -04:00
parent dc72643e09
commit 89fb4019a5
4 changed files with 58 additions and 12 deletions

View File

@@ -186,6 +186,5 @@ void Map::clean() {
}
bool Map::hasUnsavedChanges() {
// !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;
}