diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-07-21 14:48:54 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-07-21 14:51:02 +0200 |
commit | 0b5b1ef7ce78bcdcbf426645971c599674c4e752 (patch) | |
tree | 3976eccbbc0050d2298f5d37ec0bde73650cab12 /src/plugins/qmljseditor | |
parent | 31eb31ddb5aba244b269bbc8956624b19540bf95 (diff) | |
download | qt-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.cpp | 1 |
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, |