fix palette editor crash
This commit is contained in:
parent
a924938b9b
commit
3bf4aaf964
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ void TilesetEditor::setTilesets(QString primaryTilesetLabel, QString secondaryTi
|
||||||
if (this->secondaryTileset) delete this->secondaryTileset;
|
if (this->secondaryTileset) delete this->secondaryTileset;
|
||||||
this->primaryTileset = primaryTileset->copy();
|
this->primaryTileset = primaryTileset->copy();
|
||||||
this->secondaryTileset = secondaryTileset->copy();
|
this->secondaryTileset = secondaryTileset->copy();
|
||||||
|
if (paletteEditor) paletteEditor->setTilesets(this->primaryTileset, this->secondaryTileset);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TilesetEditor::initUi() {
|
void TilesetEditor::initUi() {
|
||||||
|
|
Loading…
Reference in a new issue