summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Murillo Bernardes <mfbernardes@gmail.com>2018-05-07 23:37:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-09 06:32:20 +0200
commitf4a9571da54a2fc2bb95e9e0185c6ef9861f839a (patch)
treed1f2d4f725b5c2d59096cbf8cd3368685b3e7211 /mobile-widgets/qml/DiveDetails.qml
parentc9cb95ba99abefd83d4f0f11502f2bb6da930179 (diff)
downloadsubsurface-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/qml/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml2
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() {