diff options
author | Murillo Bernardes <mfbernardes@gmail.com> | 2018-05-07 23:37:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-09 06:32:20 +0200 |
commit | f4a9571da54a2fc2bb95e9e0185c6ef9861f839a (patch) | |
tree | d1f2d4f725b5c2d59096cbf8cd3368685b3e7211 /mobile-widgets | |
parent | c9cb95ba99abefd83d4f0f11502f2bb6da930179 (diff) | |
download | subsurface-f4a9571da54a2fc2bb95e9e0185c6ef9861f839a.tar.gz |
mobile: show selected dive on details view
Call positionViewAtIndex in order to make the selected dive
visible.
Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 30a2b808e..35d0c3f72 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -209,7 +209,7 @@ Kirigami.Page { function showDiveIndex(index) { currentIndex = index; - //diveDetailsListView.positionViewAtIndex(index, ListView.End); + diveDetailsListView.positionViewAtIndex(index, ListView.End); } function endEditMode() { |