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>
This commit is contained in:
Dirk Hohndel 2015-12-26 21:56:45 -08:00
parent 0962b504ce
commit 9be42fff81
2 changed files with 3 additions and 0 deletions

View file

@ -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"