aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/DiveList.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 9c2c9fbb8..dc805a394 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -415,6 +415,10 @@ Kirigami.ScrollablePage {
diveModel.setFilter(text)
numShown.text = diveModel.shown()
}
+ onVisibleChanged: {
+ // reset the filter when it gets toggled
+ text = ""
+ }
}
Controls.Label {
id: numShown