From 824c8d05110b0d3460a304fd4c16bd9babb6ac39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 22 Aug 2013 04:47:47 +0200 Subject: [PATCH] Set wallpaperplugin to the ConfigDialog before applying Makes switching between wallpaper plugins work for me. --- .../configuration/ConfigurationContainmentAppearance.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell/qmlpackages/desktop/contents/configuration/ConfigurationContainmentAppearance.qml b/src/shell/qmlpackages/desktop/contents/configuration/ConfigurationContainmentAppearance.qml index 25df480ee..230da5fce 100644 --- a/src/shell/qmlpackages/desktop/contents/configuration/ConfigurationContainmentAppearance.qml +++ b/src/shell/qmlpackages/desktop/contents/configuration/ConfigurationContainmentAppearance.qml @@ -25,6 +25,7 @@ ColumnLayout { id: root property int formAlignment: pluginComboBox.x + property string currentWallpaper: "" //BEGIN functions function saveConfig() { @@ -33,6 +34,7 @@ ColumnLayout { configDialog.wallpaperConfiguration[key] = main.currentItem["cfg_"+key] } } + configDialog.currentWallpaper = root.currentWallpaper; configDialog.applyWallpaper() } @@ -68,6 +70,7 @@ ColumnLayout { textRole: "name" onCurrentIndexChanged: { var model = configDialog.wallpaperConfigModel.get(currentIndex) + root.currentWallpaper = model.pluginName main.sourceFile = model.source root.restoreConfig() }