aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 21:15:58 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-04 14:23:07 -0700
commite0ad3c85d17ff554775df8c5f40a19b16a671b30 (patch)
treef09fdca090b6e6a9fb0531aa1ca1ddcc08766206
parentd8ec9597fa27a5e90f4d24d1b96d6604949bf7df (diff)
downloadsubsurface-e0ad3c85d17ff554775df8c5f40a19b16a671b30.tar.gz
QML UI: animate showing the dive edit sheet
This now uses the correct property to open the OverlaySheet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qml/DiveDetails.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index c3f5707cf..35616e109 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -42,17 +42,17 @@ Kirigami.Page {
State {
name: "view"
PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ deleteAction, backAction ] : [ deleteAction ] }
- PropertyChanges { target: detailsEditScroll; visible: false }
+ PropertyChanges { target: detailsEditScroll; opened: false }
},
State {
name: "edit"
PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ cancelAction ] : null }
- PropertyChanges { target: detailsEditScroll; visible: true }
+ PropertyChanges { target: detailsEditScroll; opened: true }
},
State {
name: "add"
PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ cancelAction ] : null }
- PropertyChanges { target: detailsEditScroll; visible: true }
+ PropertyChanges { target: detailsEditScroll; opened: true }
}
]