diff options
| author | Silarn <jrim@rimpo.org> | 2019-07-05 16:19:52 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2019-07-05 16:26:20 -0500 |
| commit | 9f4a9c913fc6f79d5a754bc872443c1c057096e7 (patch) | |
| tree | 23b7b276bc184ada114493494a10bdccefe58263 /src/tutorials/tutorial_conflictresolution_main.js | |
| parent | 6b8105883190b9d36d27875e4a1914ec8aa670e8 (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.js | 4 |
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()
}
},
|
