diff options
Diffstat (limited to 'launcher/components/SelectionState.qml')
| -rw-r--r-- | launcher/components/SelectionState.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/launcher/components/SelectionState.qml b/launcher/components/SelectionState.qml index b624dcd..e860aea 100644 --- a/launcher/components/SelectionState.qml +++ b/launcher/components/SelectionState.qml @@ -12,10 +12,13 @@ Singleton { property var widgets: [] onSelectedPriorityChanged: { - if (selectedPriority > previousSelectedPriority) + if (selectedPriority > previousSelectedPriority) { priorities[selectedPriority].home(); - else + priorities[selectedPriority].syncSelectionState(); + } else { priorities[selectedPriority].end(); + priorities[selectedPriority].syncSelectionState(); + } previousSelectedPriority = selectedPriority; } |
