From 7b7d7711ff4528bc6d045e8013b75ec0560385ef Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 29 Aug 2026 19:33:50 +0800 Subject: fixup! fix(Clip): stop it stealing selected after something else already changed it --- popups/launcher/components/Emoji.qml | 2 +- popups/launcher/components/Spell.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/popups/launcher/components/Emoji.qml b/popups/launcher/components/Emoji.qml index 175133f..fc842ef 100644 --- a/popups/launcher/components/Emoji.qml +++ b/popups/launcher/components/Emoji.qml @@ -98,7 +98,7 @@ IComponent { syncSelectionState: function () { Qt.callLater(() => { if (!isSelectedPriority()) { - if (state.selected === listView.itemAtIndex(selectedIndex)) + if (state.selected === loader.view.itemAtIndex(selectedIndex)) state.selected = null; return; diff --git a/popups/launcher/components/Spell.qml b/popups/launcher/components/Spell.qml index 37633bf..e5d2568 100644 --- a/popups/launcher/components/Spell.qml +++ b/popups/launcher/components/Spell.qml @@ -116,7 +116,7 @@ IComponent { syncSelectionState: function () { Qt.callLater(() => { if (!isSelectedPriority()) { - if (state.selected === listView.itemAtIndex(selectedIndex)) + if (state.selected === loader.view.itemAtIndex(selectedIndex)) state.selected = null; return; -- cgit v1.2.3