forked from qt-creator/qt-creator
Debugger: Avoid crash in plugin unit test
Change-Id: I38d74f4a34e14f646eaf9f24ca9dc2e14ba06050 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -1254,7 +1254,8 @@ void WatchHandler::cleanup()
|
||||
saveWatchers();
|
||||
m_model->reinitialize();
|
||||
emit m_model->updateFinished();
|
||||
m_model->m_separatedView->hide();
|
||||
if (Internal::mainWindow())
|
||||
m_model->m_separatedView->hide();
|
||||
}
|
||||
|
||||
static bool sortByName(const TreeItem *a, const TreeItem *b)
|
||||
|
||||
Reference in New Issue
Block a user