diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-21 11:48:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-21 11:48:29 -0700 |
commit | 02d8c98c9389d343c9f7be3918032867f57197a3 (patch) | |
tree | 4e12a87d8b6085218bfa88502f628e5be47b501c | |
parent | 9ddd26ff37b7bf525aa434f485d0c82f4d246419 (diff) | |
download | subsurface-02d8c98c9389d343c9f7be3918032867f57197a3.tar.gz |
QML UI: DiveList: always show current trip at the top
This is especially nice for very long dive trips.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index d9ce0b729..52d65d9af 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -275,6 +275,7 @@ Kirigami.ScrollablePage { section.property: "dive.tripMeta" section.criteria: ViewSection.FullString section.delegate: tripHeading + section.labelPositioning: ViewSection.CurrentLabelAtStart | ViewSection.InlineLabels Connections { target: detailsWindow onCurrentIndexChanged: diveListView.currentIndex = detailsWindow.currentIndex |