From faa22d5343f39f335bc281e139bc347241295ebf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 1 Apr 2016 21:15:58 -0500 Subject: QML UI: animate showing the dive edit sheet This requires a change to Kirigami so that a property change (instead of calling the open() function) can trigger the animation. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/DiveDetails.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 748f218ca..0600b30a7 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -39,17 +39,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; show: false } }, State { name: "edit" PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ cancelAction ] : null } - PropertyChanges { target: detailsEditScroll; visible: true } + PropertyChanges { target: detailsEditScroll; show: true } }, State { name: "add" PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ cancelAction ] : null } - PropertyChanges { target: detailsEditScroll; visible: true } + PropertyChanges { target: detailsEditScroll; show: true } } ] -- cgit v1.2.3-70-g09d2