From 64f9976d811c8e482579f8db75941bc88d55ea92 Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Tue, 30 Jun 2020 18:20:07 -0500 Subject: [PATCH] Fix bug where newly-created tileset couldn't be used --- src/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 98b2be70..be77b4a4 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1124,6 +1124,10 @@ void MainWindow::on_actionNew_Tileset_triggered() { } else { this->ui->comboBox_SecondaryTileset->addItem(createTilesetDialog->fullSymbolName); } + + // hydrate tileset labels. + this->editor->project->getTilesetLabels(); + QMessageBox msgBox(this); msgBox.setText("Successfully created tileset."); QString message = QString("Tileset \"%1\" was created successfully.").arg(createTilesetDialog->friendlyName);