applets/kickoff: Disable reusing items

Together with switching models of the view like kickoff does
reusing delegates confuses Qt. Debugging the a wrong entry
reveals that the 'model' property inside the delegate and the
required properties still refer to the previous model.
BUG:445512
FIXED-IN:6.0.4
This commit is contained in:
David Redondo 2024-04-04 15:15:30 +02:00 committed by Nate Graham
parent e909fcd0f7
commit aa8a1fbf4b

View file

@ -113,7 +113,7 @@ EmptyPage {
focus: true
interactive: height < contentHeight
pixelAligned: true
reuseItems: true
reuseItems: false // explicitely disabled because it doesnt work correctly with switching models like we do
boundsBehavior: Flickable.StopAtBounds
// default keyboard navigation doesn't allow focus reasons to be used
// and eats up/down key events when at the beginning or end of the list.