From b16703a39774db32b3680109fe8c367299d89bf6 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 1 Jul 2020 19:31:09 -0400 Subject: [PATCH] Update tileset editor when current tileset is changed --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 124279d7..9ada39e7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2334,6 +2334,7 @@ void MainWindow::on_comboBox_PrimaryTileset_currentTextChanged(const QString &ti editor->updatePrimaryTileset(tilesetLabel); redrawMapScene(); on_horizontalSlider_MetatileZoom_valueChanged(ui->horizontalSlider_MetatileZoom->value()); + updateTilesetEditor(); } } @@ -2343,6 +2344,7 @@ void MainWindow::on_comboBox_SecondaryTileset_currentTextChanged(const QString & editor->updateSecondaryTileset(tilesetLabel); redrawMapScene(); on_horizontalSlider_MetatileZoom_valueChanged(ui->horizontalSlider_MetatileZoom->value()); + updateTilesetEditor(); } }