Launcher: hide ClipboardPreview if history is empty

This commit is contained in:
Ly-sec
2025-11-23 20:45:47 +01:00
parent 81e9419e83
commit 59678022ac
+1 -1
View File
@@ -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)