mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 01:07:33 +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
|
// hence set it to some random value initially
|
||||||
property string sourceFile: "tbd"
|
property string sourceFile: "tbd"
|
||||||
onSourceFileChanged: {
|
onSourceFileChanged: {
|
||||||
if (sourceFile) {
|
var wallpaperConfig = configDialog.wallpaperConfiguration;
|
||||||
var props = {}
|
|
||||||
|
if (wallpaperConfig && sourceFile) {
|
||||||
|
var props = {
|
||||||
|
'configDialog': configDialog
|
||||||
|
}
|
||||||
|
|
||||||
var wallpaperConfig = configDialog.wallpaperConfiguration
|
|
||||||
for (var key in wallpaperConfig) {
|
for (var key in wallpaperConfig) {
|
||||||
props["cfg_" + key] = wallpaperConfig[key]
|
props["cfg_" + key] = wallpaperConfig[key]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue