diff options
author | 2015-07-17 11:57:21 -0700 | |
---|---|---|
committer | 2015-07-17 12:00:38 -0700 | |
commit | d595f5c167c7283dc22f902ed0b18a7d6da2221e (patch) | |
tree | 10efaa6874740510a90fb9144facd7abe86ab577 /qt-mobile/DiveList.qml | |
parent | 76e61bd8d9baea008628bf5b176cf8f0b664e78f (diff) | |
parent | 0c9756c5d786158f25aaf1ad2d9c316be9e2b9e5 (diff) | |
download | subsurface-d595f5c167c7283dc22f902ed0b18a7d6da2221e.tar.gz |
Merge branch 'devel' of https://github.com/gracie89/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/DiveList.qml')
-rw-r--r-- | qt-mobile/DiveList.qml | 18 |
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 { |