diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2023-09-27 15:28:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-27 15:28:04 -0500 |
| commit | e7ee47b6e21be6741e11723b4ac4719d82d70d4b (patch) | |
| tree | 411ea3a8eb5d07eee9cd15dd3d34c29c6f9f8b76 /src/mainwindow.cpp | |
| parent | 79d457f598bcfa7a8d094a87033a31f370c9c4c1 (diff) | |
| parent | 523ea046a9f68846be0e28321ce38d94553d33ec (diff) | |
Merge pull request #1883 from ModOrganizer2/tutorial_updates
Tutorial updates
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ce2c4dd0..12586d3b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -373,8 +373,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.")); } @@ -2344,14 +2344,8 @@ void MainWindow::tutorialTriggered() { QAction* tutorialAction = qobject_cast<QAction*>(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()); } } |
