Commit 169723dd authored by Robert Loehning's avatar Robert Loehning

Squish: Fix openVcsLog() when an OutputWindow is already shown

Change-Id: I47432b7367f238a92921bffb030eada902327bd5
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 8acca9f3
......@@ -628,6 +628,8 @@ def openVcsLog():
"window=':Qt Creator_Core::Internal::MainWindow'}", 2000)
if className(foundObj) != 'Core::OutputWindow':
raise Exception("Found derived class, but not a pure QPlainTextEdit.")
waitForObject("{text='Version Control' type='QLabel' unnamed='1' visible='1' "
"window=':Qt Creator_Core::Internal::MainWindow'}", 2000)
except:
invokeMenuItem("Window", "Output Panes", "Version Control")
......
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