diff options
Diffstat (limited to 'qt-mobile/qml/DiveDetailsEdit.qml')
-rw-r--r-- | qt-mobile/qml/DiveDetailsEdit.qml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml index 476bc77f1..7211639c1 100644 --- a/qt-mobile/qml/DiveDetailsEdit.qml +++ b/qt-mobile/qml/DiveDetailsEdit.qml @@ -21,13 +21,9 @@ Item { property alias notesText: txtNotes.text property alias durationText: txtDuration.text property alias depthText: txtDepth.text + height: editArea.height ColumnLayout { - anchors { - left: parent.left - right: parent.right - top: parent.top - margins: MobileComponents.Units.gridUnit - } + id: editArea spacing: MobileComponents.Units.smallSpacing @@ -169,7 +165,7 @@ Item { diveListView.currentItem.modelData.buddy = detailsEdit.buddyText diveListView.currentItem.modelData.divemaster = detailsEdit.divemasterText diveListView.currentItem.modelData.notes = detailsEdit.notesText - editDrawer.close() + diveDetailsPage.state = "view" } } Item { |