|author||Martin Jones <email@example.com>||2015-06-24 15:56:09 +1000|
|committer||Martin Jones <firstname.lastname@example.org>||2015-06-25 23:22:37 +0000|
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 <email@example.com>
Diffstat (limited to 'src/qml/types/qqmlitemselectionmodel.qdoc')
0 files changed, 0 insertions, 0 deletions