diff options
Diffstat (limited to 'qt-mobile/qml/DiveDetails.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 7958871fe..ca2e04f08 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -28,6 +28,7 @@ MobileComponents.Page { property string date property string number property string weight + property alias viewEditText: viewEditSelector.text state: "view" @@ -46,6 +47,7 @@ MobileComponents.Page { contextualActions: [ Action { + id: viewEditSelector text: checked ? "View" : "Edit" checkable: true iconName: checked ? "view-readermode" : "document-edit" |