diff options
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 9b3d3129a..1dba8365b 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -53,7 +53,6 @@ MobileComponents.Page { currentIndex: -1 boundsBehavior: Flickable.StopAtBounds maximumFlickVelocity: parent.width/4 - //cacheBuffer: parent.width/2 orientation: ListView.Horizontal focus: true clip: true @@ -61,6 +60,9 @@ MobileComponents.Page { onMovementEnded: { currentIndex = indexAt(contentX+1, 1); } + onCurrentIndexChanged: { + editDrawer.close(); + } delegate: ScrollView { id: internalScrollView width: diveListView.width |