summaryrefslogtreecommitdiffstats
path: root/qt-mobile/DiveList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/DiveList.qml')
-rw-r--r--qt-mobile/DiveList.qml18
1 files changed, 17 insertions, 1 deletions
diff --git a/qt-mobile/DiveList.qml b/qt-mobile/DiveList.qml
index 40507e26a..7fa7a53f0 100644
--- a/qt-mobile/DiveList.qml
+++ b/qt-mobile/DiveList.qml
@@ -77,6 +77,13 @@ Rectangle {
id: editorDetails
width: detailsPage.width
columns: 2
+ Text { }
+ QMLProfile {
+ diveId: id
+ height: 400
+ Layout.fillWidth: true
+ }
+
Text { text: "Location:"; font.bold: true }
TextField { id: txtLocation; text: location; Layout.fillWidth: true }
Text { text: "Air Temp:"; font.bold: true }
@@ -109,7 +116,16 @@ Rectangle {
opacity: dive.detailsOpacity
text: "Close"
- onClicked: dive.state = '';
+ onClicked: {
+ manager.commitChanges(
+ id,
+ txtSuit.text,
+ txtBuddy.text,
+ txtDiveMaster.text,
+ txtNotes.text
+ )
+ dive.state = '';
+ }
}
states: State {