Commit 714d918e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Force the invalidation of the currentItem

Doesn't make sense to keep the index if we are refreshing the whole list

See QTBUG-65881
BUG: 385718
parent fc033427
......@@ -80,6 +80,9 @@ DiscoverPage {
id: appsModel
sortRole: ResourcesProxyModel.RatingCountRole
sortOrder: Qt.DescendingOrder
onBusyChanged: if (isBusy) {
apps.currentIndex = -1
spacing: Kirigami.Units.gridUnit
currentIndex: -1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment