Verified Commit 89dce8a1 authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: reset grid index after new images are added

Otherwise the index will still be the old index.

BUG: 455129
FIXED-IN: 5.26
(cherry picked from commit fe9604ca)
parent 3b562cdd
Pipeline #236662 canceled with stage
in 9 minutes and 51 seconds
......@@ -36,6 +36,7 @@ Item {
function onWallpaperBrowseCompleted() {
// Scroll to top to view added images
wallpapersGrid.view.positionViewAtIndex(0, GridView.Beginning);
wallpapersGrid.resetCurrentIndex(); // BUG 455129
}
}
......
Supports Markdown
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