From 02d8c98c9389d343c9f7be3918032867f57197a3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 21 Jun 2017 11:48:29 -0700 Subject: QML UI: DiveList: always show current trip at the top This is especially nice for very long dive trips. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2