aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@jollamobile.com>2015-06-24 15:56:09 +1000
committerMartin Jones <martin.jones@qinetic.com.au>2015-06-25 23:22:37 +0000
commit30a65658c84e9e631b55f03303e19148b391b08b (patch)
tree7de7f6f95135ba1d82388cb3ec8f3f9cc4272083 /src/qml
parent12c7d018eccb979273fe447c9a0f17b1988ccbf4 (diff)
Correctly initialize ListView section attached properties.
During item insertion, indexes of items in the visibleItems list were not adjusted before new items were created. Section initialization was broken during insertion because section calculation relies on the indexes of the items in the visibleItems list. The incorrect section properties caused spurious section header creation, and layout issues. Apply the index offset before creating the new items. This mirrors what GridView already does. Change-Id: I549a81825cf0e979bc5830840bf6cb75c7a82cac Task-number: QTBUG-43873 Reviewed-by: Bea Lam <bea.lam@jollamobile.com>
Diffstat (limited to 'src/qml')
0 files changed, 0 insertions, 0 deletions