diff options
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 77d52c77e..bf07d4571 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -75,8 +75,8 @@ MobileComponents.Page { } function showDiveIndex(index) { - diveDetailsListView.currentIndex = index; - diveDetailsListView.positionViewAtIndex(diveDetailsListView.currentIndex, ListView.Beginning); + currentIndex = index; + diveDetailsListView.positionViewAtIndex(index, ListView.Beginning); } onWidthChanged: diveDetailsListView.positionViewAtIndex(diveDetailsListView.currentIndex, ListView.Beginning); |