Commit 61753f7e authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Fix losing focus on Mac

Change-Id: I4dcf69cd644e2a9c5de46de639abc69d90334342
Reviewed-by: default avatarRobert Loehning <>
parent b6dec28d
...@@ -220,6 +220,9 @@ def selectFromFileDialog(fileName): ...@@ -220,6 +220,9 @@ def selectFromFileDialog(fileName):
nativeType("<Return>") nativeType("<Return>")
snooze(2) snooze(2)
nativeType("<Return>") nativeType("<Return>")
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Minimize)
setWindowState(findObject(":Qt Creator_Core::Internal::MainWindow"), WindowState.Maximize)
else: else:
fName = os.path.basename(os.path.abspath(fileName)) fName = os.path.basename(os.path.abspath(fileName))
pName = os.path.dirname(os.path.abspath(fileName)) + os.sep pName = os.path.dirname(os.path.abspath(fileName)) + os.sep
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