summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-07-21 14:48:54 +0200
committerKai Koehne <kai.koehne@nokia.com>2010-07-21 14:51:02 +0200
commit0b5b1ef7ce78bcdcbf426645971c599674c4e752 (patch)
tree3976eccbbc0050d2298f5d37ec0bde73650cab12 /src/plugins/qmljseditor
parent31eb31ddb5aba244b269bbc8956624b19540bf95 (diff)
downloadqt-creator-0b5b1ef7ce78bcdcbf426645971c599674c4e752.tar.gz
QmlOutline: Fix issues when 'filter bindings' is activated
Make sure the filter reevaluates all items when they change.
Diffstat (limited to 'src/plugins/qmljseditor')
-rw-r--r--src/plugins/qmljseditor/qmljsoutline.cpp1
1 files changed, 1 insertions, 0 deletions
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,