aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-31 12:52:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-31 14:34:43 -0700
commit4636fcc83469309362c3925ef80ade589ea409a0 (patch)
treea20cdbac37add33560745036e5fed2a68bcde611
parent26f6d95305acdb86c99e11c017987497d0238321 (diff)
downloadsubsurface-4636fcc83469309362c3925ef80ade589ea409a0.tar.gz
Mobile/filtering: don't show the filter line when pulling divelist down
Even though the height was zero, when pulling down the dive list for refresh, the filter input line would still be visible. With this fix it no longer is. Also remove unused property. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DiveList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 89b0c679f..6ffeee020 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -367,7 +367,7 @@ Kirigami.ScrollablePage {
id: filterHeader
Rectangle {
id: filterRectangle
- default property alias data: filterBar.data
+ visible: filterBar.height > 0
implicitHeight: filterBar.implicitHeight
implicitWidth: filterBar.implicitWidth
height: filterBar.height