diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-08-29 19:33:50 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-08-29 19:33:50 +0800 |
| commit | 7b7d7711ff4528bc6d045e8013b75ec0560385ef (patch) | |
| tree | ecc873c5f498c7d838e1c39e65f11a7c46015d20 | |
| parent | f1ac2542a34455aaaacfb5ab8c9c42d949515125 (diff) | |
fixup! fix(Clip): stop it stealing selected after something else already changed it
| -rw-r--r-- | popups/launcher/components/Emoji.qml | 2 | ||||
| -rw-r--r-- | 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; |
