From be371aed17b0d5b5099b271e6ae49a52a576029c Mon Sep 17 00:00:00 2001 From: Karathan Date: Fri, 22 Mar 2019 03:01:38 +0100 Subject: [PATCH] add success message to tileset creation --- src/mainwindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b2649230..309b533c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -942,6 +942,13 @@ void MainWindow::on_actionNew_Tileset_triggered() { } else { this->ui->comboBox_SecondaryTileset->addItem(createTilesetDialog->fullSymbolName); } + QMessageBox msgBox(this); + msgBox.setText("Successfully created tileset."); + QString message = QString("Tileset \"%1\" was created successfully.").arg(createTilesetDialog->friendlyName); + msgBox.setInformativeText(message); + msgBox.setDefaultButton(QMessageBox::Ok); + msgBox.setIcon(QMessageBox::Icon::Information); + msgBox.exec(); } }