diff options
Diffstat (limited to 'qt-mobile/DiveList.qml')
-rw-r--r-- | qt-mobile/DiveList.qml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/qt-mobile/DiveList.qml b/qt-mobile/DiveList.qml index 40507e26a..0f358081d 100644 --- a/qt-mobile/DiveList.qml +++ b/qt-mobile/DiveList.qml @@ -109,7 +109,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 { |