summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jrim@rimpo.org>2023-09-25 17:27:45 -0500
committerJeremy Rimpo <jrim@rimpo.org>2023-09-25 17:34:41 -0500
commit523ea046a9f68846be0e28321ce38d94553d33ec (patch)
treec9c0600b0845d9486671120d08669302866b90f5 /src/mainwindow.cpp
parent70509275405d2a5c5e94743786f03b17ef2051f2 (diff)
Tutorial updates
- Add ability to exit tutorial early - Update and clarify many of the tutorials
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp14
1 files changed, 4 insertions, 10 deletions
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<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());
}
}