Update tileset editor when current tileset is changed
This commit is contained in:
parent
016c65448e
commit
b16703a397
1 changed files with 2 additions and 0 deletions
|
@ -2334,6 +2334,7 @@ void MainWindow::on_comboBox_PrimaryTileset_currentTextChanged(const QString &ti
|
||||||
editor->updatePrimaryTileset(tilesetLabel);
|
editor->updatePrimaryTileset(tilesetLabel);
|
||||||
redrawMapScene();
|
redrawMapScene();
|
||||||
on_horizontalSlider_MetatileZoom_valueChanged(ui->horizontalSlider_MetatileZoom->value());
|
on_horizontalSlider_MetatileZoom_valueChanged(ui->horizontalSlider_MetatileZoom->value());
|
||||||
|
updateTilesetEditor();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2343,6 +2344,7 @@ void MainWindow::on_comboBox_SecondaryTileset_currentTextChanged(const QString &
|
||||||
editor->updateSecondaryTileset(tilesetLabel);
|
editor->updateSecondaryTileset(tilesetLabel);
|
||||||
redrawMapScene();
|
redrawMapScene();
|
||||||
on_horizontalSlider_MetatileZoom_valueChanged(ui->horizontalSlider_MetatileZoom->value());
|
on_horizontalSlider_MetatileZoom_valueChanged(ui->horizontalSlider_MetatileZoom->value());
|
||||||
|
updateTilesetEditor();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue