Set unsaved changes when pasting metatiles
This commit is contained in:
parent
c233e3cd59
commit
6101899b6d
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue