diff options
Diffstat (limited to 'modules/launcher')
| -rw-r--r-- | modules/launcher/Content.qml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml index 486b67a..e8c95fd 100644 --- a/modules/launcher/Content.qml +++ b/modules/launcher/Content.qml @@ -107,7 +107,7 @@ Item { function onLauncherChanged(): void { if (root.visibilities.launcher) - search.forceActiveFocus(); + search.focus = true; else { search.text = ""; const current = list.currentList; @@ -115,6 +115,11 @@ Item { current.currentIndex = 0; } } + + function onSessionChanged(): void { + if (root.visibilities.launcher && !root.visibilities.session) + search.focus = true; + } } } |