QmlOutline: Update selection if filter is toggled

This commit is contained in:
Kai Koehne
2010-09-03 12:49:05 +02:00
parent 70ef8c6204
commit 68f6d162f0

View File

@@ -190,6 +190,7 @@ void QmlJSOutlineWidget::setShowBindings(bool showBindings)
{ {
m_filterModel->setFilterBindings(!showBindings); m_filterModel->setFilterBindings(!showBindings);
modelUpdated(); modelUpdated();
updateSelectionInTree(m_editor->outlineModelIndex());
} }
bool QmlJSOutlineWidget::syncCursor() bool QmlJSOutlineWidget::syncCursor()