diff options
Diffstat (limited to 'qt-mobile/qml/DiveDetailsEdit.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetailsEdit.qml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml index 7648eaf3f..e3545535c 100644 --- a/qt-mobile/qml/DiveDetailsEdit.qml +++ b/qt-mobile/qml/DiveDetailsEdit.qml @@ -65,6 +65,9 @@ Item { id: txtSuit text: suit Layout.fillWidth: true + onEditingFinished: { + suit = text; + } } MobileComponents.Label { @@ -75,6 +78,9 @@ Item { id: txtBuddy text: buddy Layout.fillWidth: true + onEditingFinished: { + buddy = text; + } } MobileComponents.Label { @@ -85,6 +91,9 @@ Item { id: txtDiveMaster text: divemaster Layout.fillWidth: true + onEditingFinished: { + divemaster = text; + } } MobileComponents.Label { @@ -100,6 +109,11 @@ Item { Layout.minimumHeight: MobileComponents.Units.gridUnit * 6 selectByMouse: true wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere +// there is no onEditingFinished signal... not sure how to get the value +// out of this field when we're done editing +// onEditingFinished: { +// diveDetailsWindow.notes = text; +// } } } Item { @@ -107,4 +121,4 @@ Item { width: height // just to make sure the spacer doesn't produce scrollbars, but also isn't null } } -}
\ No newline at end of file +} |