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

desktoppackage: enable Apply button only after the wallpaper plugin is changed

Selecting the same wallpaper plugin should not enable the apply button.
parent 3dbe71a2
Pipeline #196421 passed with stage
in 8 minutes and 12 seconds
......@@ -113,6 +113,9 @@ Item {
textRole: "name"
onActivated: {
var model = configDialog.wallpaperConfigModel.get(currentIndex)
if (appearanceRoot.currentWallpaper === model.pluginName) {
appearanceRoot.currentWallpaper = model.pluginName
configDialog.currentWallpaper = model.pluginName
main.sourceFile = model.source
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