Squish: Fix losing focus on Mac

Change-Id: I4dcf69cd644e2a9c5de46de639abc69d90334342
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Christian Stenger
2012-09-25 13:32:12 +02:00
parent b6dec28dbd
commit 61753f7e08
+3
View File
@@ -220,6 +220,9 @@ def selectFromFileDialog(fileName):
nativeType("<Return>")
snooze(2)
nativeType("<Return>")
snooze(1)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Minimize)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
else:
fName = os.path.basename(os.path.abspath(fileName))
pName = os.path.dirname(os.path.abspath(fileName)) + os.sep