aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/system/shared/hook_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/system/shared/hook_utils.py b/tests/system/shared/hook_utils.py
index a11d28b4860..bc1a81b9fe2 100644
--- a/tests/system/shared/hook_utils.py
+++ b/tests/system/shared/hook_utils.py
@@ -237,7 +237,7 @@ def __configureCustomExecutable__(projectName, port, mkspec, qmakeVersion):
"unnamed='1' visible='1'}")
clickButton(addButton)
addMenu = addButton.menu()
- activateItem(waitForObjectItem(objectMap.realName(addMenu), 'Custom Executable'))
+ activateItem(waitForObjectItem(addMenu, 'Custom Executable'))
exePathChooser = waitForObject(":Executable:_Utils::PathChooser", 2000)
exeLineEd = getChildByClass(exePathChooser, "Utils::BaseValidatingLineEdit")
argLineEd = waitForObject("{buddy={window=':Qt Creator_Core::Internal::MainWindow' "