diff options
Diffstat (limited to 'popups/launcher/components/Spell.qml')
| -rw-r--r-- | popups/launcher/components/Spell.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/popups/launcher/components/Spell.qml b/popups/launcher/components/Spell.qml index 5e62ae8..5e5d20a 100644 --- a/popups/launcher/components/Spell.qml +++ b/popups/launcher/components/Spell.qml @@ -115,6 +115,11 @@ IComponent { syncSelectionState: function () { Qt.callLater(() => { + if (!isSelectedPriority() && state.selected === loader.view.itemAtIndex(selectedIndex)) { + state.selected = null; + return; + } + if (!loader.view || selectedIndex < 0 || selectedIndex >= loader.view.count || !root.visible) return; |
