From 0b5b1ef7ce78bcdcbf426645971c599674c4e752 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 21 Jul 2010 14:48:54 +0200 Subject: QmlOutline: Fix issues when 'filter bindings' is activated Make sure the filter reevaluates all items when they change. --- src/plugins/qmljseditor/qmljsoutline.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/qmljseditor/qmljsoutline.cpp') diff --git a/src/plugins/qmljseditor/qmljsoutline.cpp b/src/plugins/qmljseditor/qmljsoutline.cpp index 1794ee89a2..b80d746078 100644 --- a/src/plugins/qmljseditor/qmljsoutline.cpp +++ b/src/plugins/qmljseditor/qmljsoutline.cpp @@ -35,6 +35,7 @@ QmlJSOutlineTreeView::QmlJSOutlineTreeView(QWidget *parent) : QmlJSOutlineFilterModel::QmlJSOutlineFilterModel(QObject *parent) : QSortFilterProxyModel(parent) { + setDynamicSortFilter(true); } bool QmlJSOutlineFilterModel::filterAcceptsRow(int sourceRow, -- cgit v1.2.1