From a8bcbf6555a5191f930407c674cedec5f271471b Mon Sep 17 00:00:00 2001 From: Chris Bessent Date: Fri, 30 Apr 2021 08:41:29 -0700 Subject: Fix up tutorials --- src/tutorials/TutorialOverlay.qml | 5 ++++- src/tutorials/tutorial_conflictresolution_main.js | 2 +- src/tutorials/tutorial_firststeps_main.js | 4 +++- src/tutorials/tutorial_primer_main.js | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/tutorials/TutorialOverlay.qml b/src/tutorials/TutorialOverlay.qml index 47e5065d..8c2a36e7 100644 --- a/src/tutorials/TutorialOverlay.qml +++ b/src/tutorials/TutorialOverlay.qml @@ -55,7 +55,10 @@ Rectangle { Connections { target: manager - onTabChanged: tabChanged(index) + function onTabChanged(index) + { + tabChanged(index) + } } Tooltip { diff --git a/src/tutorials/tutorial_conflictresolution_main.js b/src/tutorials/tutorial_conflictresolution_main.js index a2aa278d..46518a93 100644 --- a/src/tutorials/tutorial_conflictresolution_main.js +++ b/src/tutorials/tutorial_conflictresolution_main.js @@ -76,7 +76,7 @@ function getTutorialSteps() { tutorial.text = qsTr("... here, if you mark the highlighted control, the tree will only display files in conflict. " +"In the right column, it says which mod currently provides the mod (because it has highest priority) " +"and if you hover your mouse over that info, it will list which other mods contains it.") - highlightItem("conflictsCheckBox", false) + highlightItem("dataTabShowOnlyConflicts", false) waitForClick() }, function() { diff --git a/src/tutorials/tutorial_firststeps_main.js b/src/tutorials/tutorial_firststeps_main.js index 96bfd0e7..76faf973 100644 --- a/src/tutorials/tutorial_firststeps_main.js +++ b/src/tutorials/tutorial_firststeps_main.js @@ -72,8 +72,10 @@ function getTutorialSteps() tutorial.text = qsTr("There are a few ways to get mods into ModOrganizer. " + "If you associated MO with NXM links in the settings you can now use your regular browser to send downloads from Nexus to MO. " + "Click on \"Nexus\" to open nexus, find a mod and click the green download buttons on Nexus saying \"Download with Manager\".") - if (tutorialControl.waitForAction("actionNexus")) { + if (tutorialControl.waitForAction("actionNexus") && + tutorialControl.waitForAction("actionModPage")) { highlightAction("actionNexus", true) + highlightAction("actionModPage", true) } else { console.error("browser action broken") waitForClick() diff --git a/src/tutorials/tutorial_primer_main.js b/src/tutorials/tutorial_primer_main.js index 95faa33d..640364cb 100644 --- a/src/tutorials/tutorial_primer_main.js +++ b/src/tutorials/tutorial_primer_main.js @@ -90,7 +90,9 @@ function setupTooptips() { tooltipAction("actionChange_Game", qsTr("Change/manage MO2 instances or switch to portable mode.")) tooltipAction("actionInstallMod", qsTr("Browse to and manually install a mod from an archive on your computer.")) tooltipAction("actionNexus", qsTr("Automatically open NexusMods to browse and install mods via the API.")) + tooltipAction("actionModPage", qsTr("Automatically open NexusMods to browse and install mods via the API.")) tooltipAction("actionAdd_Profile", qsTr("Manage your MO2 profiles.")) + tooltipAction("action_Refresh", qsTr("Refresh everything.")) tooltipAction("actionModify_Executables", qsTr("Open the executable editor to add and modify applications you wish to run with MO2.")) tooltipAction("actionTool", qsTr("Select from a collection of additional tools, such as an INI editor, integrated FNIS updater, and more.")) tooltipAction("actionSettings", qsTr("Configure Mod Organizer.")) @@ -136,5 +138,3 @@ function getTutorialSteps() { } ] } - - -- cgit v1.3.1