mirror of
https://github.com/huderlem/porymap.git
synced 2026-11-19 10:45:24 -06:00
Reimplement metatile label edit history
This commit is contained in:
@@ -618,8 +618,6 @@ void MainWindow::setMetatileLabel(int metatileId, QString label) {
|
||||
return;
|
||||
}
|
||||
|
||||
// The user may not have the Tileset Editor open. This forcefully saves the change for them.
|
||||
// If they do have the Tileset Editor open, this has the unintended side effect of saving other unsaved label changes.
|
||||
if (this->editor->project)
|
||||
this->editor->project->saveTilesetMetatileLabels(this->editor->map->layout->tileset_primary, this->editor->map->layout->tileset_secondary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user