summaryrefslogtreecommitdiff
path: root/launcher/components/Spell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/components/Spell.qml')
-rw-r--r--launcher/components/Spell.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/components/Spell.qml b/launcher/components/Spell.qml
index d04e0eb..2072057 100644
--- a/launcher/components/Spell.qml
+++ b/launcher/components/Spell.qml
@@ -27,6 +27,10 @@ IComponent {
}
onAspellChanged: {
+ if (selectedIndex !== -1) {
+ syncSelectionState();
+ return;
+ }
selectedIndex = aspell.length > 0 ? 0 : -1;
// selectedIndexChanged dont get called somehow
syncSelectionState();