on xenial help sign in
Apply expandedIndex on delegate creation
7645fa8Albert Astals
Dash/GenericScopeView.qml+6
@@ -80,6 +80,12 @@ ScopeView {
80 item.model = results
80 item.model = results
81 }
81 }
82 item.objectName = categoryId
82 item.objectName = categoryId
83+ if (item.expandable) {
84+ var shouldFilter = index != categoryView.expandedIndex;
85+ if (shouldFilter != item.filter) {
86+ item.filter = shouldFilter;
87+ }
88+ }
83 }
89 }
84
90
85 Connections {
91 Connections {