forked from qt-creator/qt-creator
Squish: Fix losing focus on Mac
Change-Id: I4dcf69cd644e2a9c5de46de639abc69d90334342 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user