Skip to content
Snippets Groups Projects
Commit 169723dd authored by Robert Löhning's avatar Robert Löhning
Browse files

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


Change-Id: I47432b7367f238a92921bffb030eada902327bd5
Reviewed-by: default avatarChristian Stenger <christian.stenger@qt.io>
parent 8acca9f3
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment