diff --git a/modules/background/Wallpaper.qml b/modules/background/Wallpaper.qml index 39a48fc8..b83ff8be 100644 --- a/modules/background/Wallpaper.qml +++ b/modules/background/Wallpaper.qml @@ -13,6 +13,7 @@ Item { property string source: Wallpapers.current property Image current: one + property bool completed onSourceChanged: { if (!source) @@ -25,13 +26,16 @@ Item { Component.onCompleted: { if (source) - Qt.callLater(() => one.update()); + Qt.callLater(() => { + one.update(); + completed = true; + }); } Loader { anchors.fill: parent - active: !root.source + active: root.completed && !root.source sourceComponent: StyledRect { color: Colours.palette.m3surfaceContainer