aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/DiveDetails.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml
index b4f30dab9..52fadd33c 100644
--- a/qt-mobile/qml/DiveDetails.qml
+++ b/qt-mobile/qml/DiveDetails.qml
@@ -66,8 +66,10 @@ MobileComponents.Page {
buddy = detailsEdit.buddyText
divemaster = detailsEdit.divemasterText
notes = detailsEdit.notesText
+ diveDetailsWindow.viewEditText = "Edit"
diveDetailsWindow.state = "view"
} else {
+ diveDetailsWindow.viewEditText = "Save"
diveDetailsWindow.state = "edit"
}
contextDrawer.close()