@@ -28,10 +28,13 @@ import "../Components"
31− /* If true, the number of elements displayed will be limited by collapsedRowCount.
33+ /* If true, the number of elements displayed will be limited by collapsedRowCount.
32− If false, all elements will be displayed, effectively looking the same as a regular
34+ If false, all elements will be displayed, effectively looking the same as a regular
33− ResponsiveGridView. Manipulate this property through setFilter */
35+ ResponsiveGridView. Manipulate this property through setFilter */
34− property bool filter: true
36+ property bool filter: true
36 /* Whether, when collapsed, a button should be displayed enabling the user to expand
39 /* Whether, when collapsed, a button should be displayed enabling the user to expand
37 the grid to its full size. */
40 the grid to its full size. */
@@ -81,7 +84,7 @@ Item {
81 easing.type: Easing.InOutQuad
84 easing.type: Easing.InOutQuad
82 onRunningChanged: {
85 onRunningChanged: {
83 if (!running) {
86 if (!running) {
84− limitModel.filter = root.filter;
87+ limitModel.filter = d.filter;
86 heightBehaviour.enabled = false;
89 heightBehaviour.enabled = false;
@@ -90,7 +93,7 @@ Item {
91 function setFilter(filter, animate) {
94 function setFilter(filter, animate) {
92 heightBehaviour.enabled = animate;
95 heightBehaviour.enabled = animate;
93− root.filter = filter;
96+ d.filter = filter;
94 if (!animate || !filter) {
97 if (!animate || !filter) {
95 limitModel.filter = filter;
98 limitModel.filter = filter;