Fix auto-merge
This commit is contained in:
parent
441db4274e
commit
87b43080ba
1 changed files with 1 additions and 1 deletions
|
@ -1072,7 +1072,7 @@ void TilesetEditor::on_copyButton_metatileLabel_clicked() {
|
|||
QClipboard * clipboard = QGuiApplication::clipboard();
|
||||
QString label = this->ui->lineEdit_metatileLabel->text();
|
||||
if (!label.isEmpty()) {
|
||||
Tileset * tileset = Tileset::getMetatileTileset(this->getSelectedMetatile(), this->primaryTileset, this->secondaryTileset);
|
||||
Tileset * tileset = Tileset::getMetatileTileset(this->getSelectedMetatileId(), this->primaryTileset, this->secondaryTileset);
|
||||
if (tileset)
|
||||
label.prepend("METATILE_" + QString(tileset->name).replace("gTileset_", "") + "_");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue