From 66a9f2f220a9cc6a29ce4b66691f0117bdd35704 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 8 Jun 2026 18:33:45 +1000 Subject: [PATCH] fix: clear colours preview when lock cleared Closes #1522 --- services/Wallpapers.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml index 37b60667..916fc953 100644 --- a/services/Wallpapers.qml +++ b/services/Wallpapers.qml @@ -20,6 +20,7 @@ Searcher { property string previewPath property string actualCurrent property bool previewColourLock + property bool pendingPreviewClear function getCategoryFor(w: FileSystemEntry): string { let category = w.parentDir.slice(Paths.wallsdir.length + 1); @@ -47,7 +48,14 @@ Searcher { function stopPreview(): void { showPreview = false; - if (!previewColourLock) + if (previewColourLock) + pendingPreviewClear = true; + else + Colours.showPreview = false; + } + + onPreviewColourLockChanged: { + if (!previewColourLock && pendingPreviewClear) Colours.showPreview = false; }