forked from qt-creator/qt-creator
Squish: Fix openVcsLog() when an OutputWindow is already shown
Change-Id: I47432b7367f238a92921bffb030eada902327bd5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user