forked from qt-creator/qt-creator
QmlDesigner: Fix Crash
Task-number: QTCREATORBUG-17998 Change-Id: Ic0ad46455a0e56af3082c1d9ce8995a7f07c2238 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
3e665f7aaf
commit
5cf8fbabda
@@ -134,7 +134,7 @@ void QmlJSOutlineWidget::setEditor(QmlJSEditorWidget *editor)
|
||||
|
||||
connect(m_editor, &QmlJSEditorWidget::outlineModelIndexChanged,
|
||||
this, &QmlJSOutlineWidget::updateSelectionInTree);
|
||||
connect(m_editor->qmlJsEditorDocument()->outlineModel(), &QmlOutlineModel::updated, [this] () {
|
||||
connect(m_editor->qmlJsEditorDocument()->outlineModel(), &QmlOutlineModel::updated, this, [this] () {
|
||||
m_treeView->expandAll();
|
||||
m_editor->updateOutlineIndexNow();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user