forked from qt-creator/qt-creator
LanguageClient: ensure the outline is expanded after an update
Task-number: QTCREATORBUG-32218 Change-Id: I8d2e7d45f00025a11307ae40a2870bfcf6102dc7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -234,6 +234,7 @@ void LanguageClientOutlineWidget::handleResponse(const DocumentUri &uri,
|
|||||||
m_model.setInfo(*s);
|
m_model.setInfo(*s);
|
||||||
else
|
else
|
||||||
m_model.clear();
|
m_model.clear();
|
||||||
|
m_view.expandAll();
|
||||||
|
|
||||||
// The list has changed, update the current items
|
// The list has changed, update the current items
|
||||||
updateSelectionInTree(m_editor->textCursor());
|
updateSelectionInTree(m_editor->textCursor());
|
||||||
|
Reference in New Issue
Block a user