Verified Commit 078bfa3e authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/image: save drag and drop result after `addSlidePath`

parent 3f5f5c9e
Pipeline #184100 passed with stage
in 8 minutes and 17 seconds
......@@ -35,6 +35,8 @@ QQC2.StackView {
}
} else {
imageWallpaper.addSlidePath(url);
// Save drag and drop result
wallpaper.configuration.SlidePaths = imageWallpaper.slidePaths;
}
}
......@@ -71,9 +73,6 @@ QQC2.StackView {
slideshowMode: wallpaper.configuration.SlideshowMode
slideshowFoldersFirst: wallpaper.configuration.SlideshowFoldersFirst
uncheckedSlides: wallpaper.configuration.UncheckedSlides
// Save drag and drop result
onSlidePathsChanged: wallpaper.configuration.SlidePaths = slidePaths
}
onFillModeChanged: Qt.callLater(loadImage);
......
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