mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
shell: Fix containment and wallpaper switching from being broken
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/290
This commit is contained in:
parent
bc18b29ce3
commit
1cf51ae694
1 changed files with 6 additions and 3 deletions
|
|
@ -182,10 +182,13 @@ ColumnLayout {
|
|||
// hence set it to some random value initially
|
||||
property string sourceFile: "tbd"
|
||||
onSourceFileChanged: {
|
||||
if (sourceFile) {
|
||||
var props = {}
|
||||
var wallpaperConfig = configDialog.wallpaperConfiguration;
|
||||
|
||||
if (wallpaperConfig && sourceFile) {
|
||||
var props = {
|
||||
'configDialog': configDialog
|
||||
}
|
||||
|
||||
var wallpaperConfig = configDialog.wallpaperConfiguration
|
||||
for (var key in wallpaperConfig) {
|
||||
props["cfg_" + key] = wallpaperConfig[key]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue