diff options
| author | Tannin <devnull@localhost> | 2014-09-08 20:37:23 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-09-08 20:37:23 +0200 |
| commit | 9daeb9479bd2675d0feef1e1f7bffb3f73361e30 (patch) | |
| tree | 7c6190555677aee74366d1541ad6f2c8b4d50bd9 /src/tutorials/tutorial_firststeps_main.js | |
| parent | 07bae15d7cdb831f97719c940c411ba40dba8929 (diff) | |
- re-enabled building of loot_cli and started developing against the new api
- extended set of default categories
- more tolerand bbcode parser
- added a few colors for the bbcode parser
- more fixes to qt5 compatibility
- started work on ability to unloading (and thus re-loading) of plugins
- names of plugins are no longer localizable (because those names are also used to store settings)
- added settings to disable individual diagnosis settings
- path of dependencies is now configured in a .pri file instead of environment variablees
- bugfix: if the modid-input is canceled, the id was saved as -1 and wasn't re-requested from the user
- bugfix: moving files with the SHFileOperation-Api didn't update the vfs correctly (still not perfect but better)
- bugfix: attempt to remove the deleter-file seems to have caused error messages for some users
- bugfix: fixed a couple of cases that might have caused the tutorial to hang
Diffstat (limited to 'src/tutorials/tutorial_firststeps_main.js')
| -rw-r--r-- | src/tutorials/tutorial_firststeps_main.js | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/src/tutorials/tutorial_firststeps_main.js b/src/tutorials/tutorial_firststeps_main.js index 4f9c1a74..5ee4e790 100644 --- a/src/tutorials/tutorial_firststeps_main.js +++ b/src/tutorials/tutorial_firststeps_main.js @@ -15,19 +15,24 @@ function getTutorialSteps() function() {
tutorial.text = qsTr("The highlighted button provides hints on solving problems MO recognized automatically.")
- if (!tutorialControl.waitForAction("actionProblems")) {
- highlightAction("actionProblems", false)
- waitForClick()
- } else {
+ if (tutorialControl.waitForAction("actionProblems")) {
tutorial.text += qsTr("\nThere IS a problem now but you may want to hold off on fixing it until after completing the tutorial.")
highlightAction("actionProblems", true)
+ } else {
+ highlightAction("actionProblems", false)
+ waitForClick()
}
},
function() {
+ console.log("next")
tutorial.text = qsTr("This button provides multiple sources of information and further tutorials.")
- highlightItem("actionHelp", true)
- tutorialControl.waitForButton("actionHelp")
+ if (tutorialControl.waitForButton("actionHelp")) {
+ highlightItem("actionHelp", true)
+ } else {
+ console.error("help button broken")
+ waitForClick()
+ }
},
function() {
@@ -47,12 +52,16 @@ function getTutorialSteps() function() {
tutorial.text = qsTr("Before we start installing mods, let's have a quick look at the settings.")
manager.activateTutorial("SettingsDialog", "tutorial_firststeps_settings.js")
- highlightAction("actionSettings", true)
- tutorialControl.waitForAction("actionSettings")
+ if (tutorialControl.waitForAction("actionSettings")) {
+ highlightAction("actionSettings", true)
+ } else {
+ console.error("settings action broken")
+ waitForClick()
+ }
},
function() {
- tutorial.text = qsTr("Now it's time to install a few mods!"
+ tutorial.text = qsTr("Now it's time to install a few mods!"
+ "Please go along with this because we need a few mods installed to demonstrate other features")
waitForClick()
},
@@ -61,8 +70,12 @@ 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\".")
- highlightAction("actionNexus", true)
- tutorialControl.waitForAction("actionNexus")
+ if (tutorialControl.waitForAction("actionNexus")) {
+ highlightAction("actionNexus", true)
+ } else {
+ console.error("browser action broken")
+ waitForClick()
+ }
},
function() {
|
