From 523ea046a9f68846be0e28321ce38d94553d33ec Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Mon, 25 Sep 2023 17:27:45 -0500 Subject: Tutorial updates - Add ability to exit tutorial early - Update and clarify many of the tutorials --- src/mainwindow.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ebe7da98..8c5110e0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -371,8 +371,8 @@ MainWindow::MainWindow(Settings& settings, OrganizerCore& organizerCore, if (organizerCore.managedGame()->sortMechanism() == MOBase::IPluginGame::SortMechanism::NONE) { - ui->bossButton->setDisabled(true); - ui->bossButton->setToolTip(tr("There is no supported sort mechanism for this game. " + ui->sortButton->setDisabled(true); + ui->sortButton->setToolTip(tr("There is no supported sort mechanism for this game. " "You will probably have to use a third-party tool.")); } @@ -2265,14 +2265,8 @@ void MainWindow::tutorialTriggered() { QAction* tutorialAction = qobject_cast(sender()); if (tutorialAction != nullptr) { - if (QMessageBox::question(this, tr("Start Tutorial?"), - tr("You're about to start a tutorial. For technical " - "reasons it's not possible to end " - "the tutorial early. Continue?"), - QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) { - TutorialManager::instance().activateTutorial("MainWindow", - tutorialAction->data().toString()); - } + TutorialManager::instance().activateTutorial("MainWindow", + tutorialAction->data().toString()); } } -- cgit v1.3.1