on xenial help sign in
Apply expandedIndex on delegate creation

bug #1213033. Fixes: https://bugs.launchpad.net/bugs/1213033. Approved by PS Jenkins bot, Michael Zanetti.

commit94d920565fae5b7a98d85799e9d9091dd37a2ed0 authorAlbert Astals <albert.astals@canonical.com> dateMon 26 Aug 2013, 22:28 (13 years ago) parent9e78f337645fa8
1 file changed+6
Dash/GenericScopeView.qml+6
Dash/GenericScopeView.qml+6
@@ -80,6 +80,12 @@ ScopeView {
8080 item.model = results
8181 }
8282 item.objectName = categoryId
83+ if (item.expandable) {
84+ var shouldFilter = index != categoryView.expandedIndex;
85+ if (shouldFilter != item.filter) {
86+ item.filter = shouldFilter;
87+ }
88+ }
8389 }
8490
8591 Connections {