diff --git a/CHANGELOG.md b/CHANGELOG.md index a7a72b0a..ca149b58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The **"Breaking Changes"** listed below are changes that have been made in the d - Fix `File -> Open Project` not resolving folder shortcuts. - Fix bug where "Requires Itemfinder" checkbox is being checked by wrong data. - Fix the map border not immediately reflecting Tileset Editor changes. +- Fix pasting metatiles in the Tileset Editor not triggering the unsaved changes warning. ## [5.0.0] - 2022-10-30 ### Breaking Changes diff --git a/src/ui/tileseteditor.cpp b/src/ui/tileseteditor.cpp index 23e0aad5..edbfd55b 100644 --- a/src/ui/tileseteditor.cpp +++ b/src/ui/tileseteditor.cpp @@ -917,6 +917,7 @@ void TilesetEditor::pasteMetatile(const Metatile * toPaste) MetatileHistoryItem *commit = new MetatileHistoryItem(metatileId, prevMetatile, new Metatile(*this->metatile)); metatileHistory.push(commit); + this->hasUnsavedChanges = true; } void TilesetEditor::on_actionExport_Primary_Tiles_Image_triggered()