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/Spell.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'popups/launcher/components/Spell.qml') diff --git a/popups/launcher/components/Spell.qml b/popups/launcher/components/Spell.qml index 5e5d20a..1f8a15c 100644 --- a/popups/launcher/components/Spell.qml +++ b/popups/launcher/components/Spell.qml @@ -115,8 +115,10 @@ IComponent { syncSelectionState: function () { Qt.callLater(() => { - if (!isSelectedPriority() && state.selected === loader.view.itemAtIndex(selectedIndex)) { - state.selected = null; + if (!isSelectedPriority()) { + if (state.selected === listView.itemAtIndex(selectedIndex)) + state.selected = null; + return; } -- cgit v1.2.3