summaryrefslogtreecommitdiff
path: root/popups/launcher/components/App.qml
diff options
context:
space:
mode:
Diffstat (limited to 'popups/launcher/components/App.qml')
-rw-r--r--popups/launcher/components/App.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/popups/launcher/components/App.qml b/popups/launcher/components/App.qml
index a744f21..a44b2ec 100644
--- a/popups/launcher/components/App.qml
+++ b/popups/launcher/components/App.qml
@@ -89,6 +89,9 @@ IComponent {
onEntriesChanged: {
if (selectedIndex !== -1) {
+ if (selectedIndex > entries.length - 1)
+ selectedIndex = entries.length - 1;
+
syncSelectionState();
return;
}
@@ -175,10 +178,10 @@ IComponent {
}
}
- MouseArea {
+ IMouseArea {
anchors.fill: parent
hoverEnabled: true
- onEntered: {
+ onEntered_: {
root.selectedIndex = index;
}
onPressed: {