summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 33668616b..ea9c8f590 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -418,6 +418,9 @@ Kirigami.ScrollablePage {
onVisibleChanged: {
// reset the filter when it gets toggled
text = ""
+ if (visible) {
+ forceActiveFocus()
+ }
}
}
Controls.Label {