From 59678022ac37868918ce944431fdfc758e326068 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 23 Nov 2025 20:45:47 +0100 Subject: [PATCH] Launcher: hide ClipboardPreview if history is empty --- Modules/Panels/Launcher/Launcher.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Panels/Launcher/Launcher.qml b/Modules/Panels/Launcher/Launcher.qml index 114bd4ee..459bf90d 100644 --- a/Modules/Panels/Launcher/Launcher.qml +++ b/Modules/Panels/Launcher/Launcher.qml @@ -13,7 +13,7 @@ import qs.Widgets SmartPanel { id: root - readonly property bool previewActive: searchText.startsWith(">clip") && Settings.data.appLauncher.enableClipPreview + readonly property bool previewActive: searchText.startsWith(">clip") && Settings.data.appLauncher.enableClipPreview && ClipboardService.items.length > 0 && selectedIndex >= 0 && results[selectedIndex] && results[selectedIndex].clipboardId // Panel configuration readonly property int listPanelWidth: Math.round(600 * Style.uiScaleRatio)