diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 21:56:45 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 21:56:45 -0800 |
commit | 9be42fff813ab959e23a813b37319ebf75a1951b (patch) | |
tree | d3a0b1d9a624750bd3aa69632557b3f6fb659eb8 /qt-mobile/qml/DiveDetails.qml | |
parent | 0962b504ce546dfa8b71cc91a2931fcae83275d5 (diff) | |
download | subsurface-9be42fff813ab959e23a813b37319ebf75a1951b.tar.gz |
QML UI: correct text for context drawer when adding dive
This needs to say "Save" to indicate that you are saving the data that was
entered.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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" |