summaryrefslogtreecommitdiff
path: root/popups/launcher/components/Emoji.qml
diff options
context:
space:
mode:
Diffstat (limited to 'popups/launcher/components/Emoji.qml')
-rw-r--r--popups/launcher/components/Emoji.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/popups/launcher/components/Emoji.qml b/popups/launcher/components/Emoji.qml
index f45ada0..5dc9cd6 100644
--- a/popups/launcher/components/Emoji.qml
+++ b/popups/launcher/components/Emoji.qml
@@ -97,6 +97,13 @@ IComponent {
syncSelectionState: function () {
Qt.callLater(() => {
+ if (!isSelectedPriority()) {
+ if (state.selected === listView.itemAtIndex(selectedIndex))
+ state.selected = null;
+
+ return;
+ }
+
if (!loader.view || selectedIndex < 0 || selectedIndex >= loader.view.count || !root.visible)
return;