From 09c442f244f9d31af36004ec4be21b7062167cb2 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 23 Aug 2026 14:08:42 +0800 Subject: fix(Clip): stop it stealing selected after something else already changed it --- popups/launcher/components/App.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'popups/launcher/components/App.qml') diff --git a/popups/launcher/components/App.qml b/popups/launcher/components/App.qml index a4c0d2c..f3ce41d 100644 --- a/popups/launcher/components/App.qml +++ b/popups/launcher/components/App.qml @@ -94,7 +94,6 @@ IComponent { } selectedIndex = 0; - listView.contentY = 0; syncSelectionState(); } @@ -109,8 +108,10 @@ IComponent { syncSelectionState: function () { Qt.callLater(() => { - if (!isSelectedPriority() && state.selected === listView.itemAtIndex(selectedIndex)) { - state.selected = null; + if (!isSelectedPriority()) { + if (state.selected === listView.itemAtIndex(selectedIndex)) + state.selected = null; + return; } -- cgit v1.2.3