Commit 94987b2f authored by Christian Stenger's avatar Christian Stenger

Squish: Another snooze() for selectFromFileDialog()

Change-Id: Ibc24c27a8e69ba7eb039618ea416b2e84da6e617
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 88e72792
......@@ -276,6 +276,7 @@ def selectFromFileDialog(fileName, waitForFile=False):
pName = os.path.dirname(os.path.abspath(fileName)) + os.sep
waitForObject("{name='QFileDialog' type='QFileDialog' visible='1'}")
pathLine = waitForObject("{name='fileNameEdit' type='QLineEdit' visible='1'}")
snooze(1)
replaceEditorContent(pathLine, pName)
clickButton(waitForObject("{text='Open' type='QPushButton'}"))
waitFor("str(pathLine.text)==''")
......
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