diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index fbbda3516..541d1d0c0 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -334,6 +334,13 @@ Kirigami.Page { ScrollBar.vertical: ScrollBar { } } ScrollIndicator.horizontal: ScrollIndicator { } + Connections { + target: diveModel + onCurrentDiveChanged: { + currentIndex = index.row + diveDetailsListView.positionViewAtIndex(currentIndex, ListView.End) + } + } } } Flickable { |