mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-01 20:36:42 -05:00
Set unsaved changes when pasting metatiles
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user