diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-01 21:15:58 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-04 14:23:07 -0700 |
commit | e0ad3c85d17ff554775df8c5f40a19b16a671b30 (patch) | |
tree | f09fdca090b6e6a9fb0531aa1ca1ddcc08766206 | |
parent | d8ec9597fa27a5e90f4d24d1b96d6604949bf7df (diff) | |
download | subsurface-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.qml | 6 |
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 } } ] |