summaryrefslogtreecommitdiff
path: root/src/tutorials/tutorial_conflictresolution_main.js
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-07-05 16:19:52 -0500
committerSilarn <jrim@rimpo.org>2019-07-05 16:26:20 -0500
commit9f4a9c913fc6f79d5a754bc872443c1c057096e7 (patch)
tree23b7b276bc184ada114493494a10bdccefe58263 /src/tutorials/tutorial_conflictresolution_main.js
parent6b8105883190b9d36d27875e4a1914ec8aa670e8 (diff)
Rework methods to detect the current tab to use the object name
Diffstat (limited to 'src/tutorials/tutorial_conflictresolution_main.js')
-rw-r--r--src/tutorials/tutorial_conflictresolution_main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tutorials/tutorial_conflictresolution_main.js b/src/tutorials/tutorial_conflictresolution_main.js
index 404afe5d..a2aa278d 100644
--- a/src/tutorials/tutorial_conflictresolution_main.js
+++ b/src/tutorials/tutorial_conflictresolution_main.js
@@ -65,7 +65,7 @@ function getTutorialSteps() {
},
function() {
tutorial.text = qsTr("Option A: Switch to the \"Data\"-tab if necessary")
- if (!tutorialControl.waitForTabOpen("tabWidget", 2)) {
+ if (!tutorialControl.waitForTabOpen("tabWidget", "dataTab")) {
highlightItem("tabWidget", false)
waitForClick()
} else {
@@ -107,7 +107,7 @@ function getTutorialSteps() {
function() {
tutorial.text = qsTr("Please open the \"Plugins\"-tab...")
highlightItem("tabWidget", true)
- if (!tutorialControl.waitForTabOpen("tabWidget", 0)) {
+ if (!tutorialControl.waitForTabOpen("tabWidget", "espTab")) {
nextStep()
}
},