Commit fc9ed496 authored by Robert Loehning's avatar Robert Loehning

Squish: Fixed tst_qml_editor

Change-Id: Ice53977c5d747d0e38943274e269c31c48bf14c3
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 7cb97f89
......@@ -163,11 +163,7 @@ def doubleClickFile(navTree, file):
global templateDir
treeElement = ("untitled.QML.%s/qml.%s" %
(maskSpecialCharsForProjectTree(templateDir),file))
waitForObjectItem(navTree, treeElement)
doubleClickItem(navTree, treeElement, 5, 5, 0, Qt.LeftButton)
mainWindow = waitForObject(":Qt Creator_Core::Internal::MainWindow")
name = __getUnmaskedFilename__(file)
waitFor("name in str(mainWindow.windowTitle)")
openDocument(treeElement)
def __getUnmaskedFilename__(maskedFilename):
name = maskedFilename.split("\\.")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment