diff --git a/src/plugins/qmljseditor/qmljsoutline.cpp b/src/plugins/qmljseditor/qmljsoutline.cpp index e559e52b96a15a3af77271e27f5bdee8d2435e37..41643e8da710ae0d14c192662c428abe23f4d98b 100644 --- a/src/plugins/qmljseditor/qmljsoutline.cpp +++ b/src/plugins/qmljseditor/qmljsoutline.cpp @@ -190,6 +190,7 @@ void QmlJSOutlineWidget::setShowBindings(bool showBindings) { m_filterModel->setFilterBindings(!showBindings); modelUpdated(); + updateSelectionInTree(m_editor->outlineModelIndex()); } bool QmlJSOutlineWidget::syncCursor()