Skip to content

Reset currentChanges if currentChanges is active when refilling listView

Reset currentChanges if currentChanges is active when refilling listView

currentIndex was not getting updated because itemViewChangeSet was left
active from previous interaction. Clear the changes if they are still
active on refill.

Task-number: QTBUG-92809
Pick-to: 6.2 5.15
Change-Id: I81558a5e0bfe0f880851fff85370bd5be60a5391
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit 2d8033a4ffb9ca60adee29d375491d7ed2a82747)

* asturmlechner 2021-11-09: Other part of 2d8033a4 is in qtquickcontrols2
	but only consists of tests.
Edited by Andreas Sturmlechner

Merge request reports