diff options
author | Jocke <j.bygdell@gmail.com> | 2018-08-06 09:34:39 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-11 11:19:07 -0700 |
commit | ae70a751c7b5292ed4a798601d17013479508d86 (patch) | |
tree | 791d634f75baad076865c336d346b62bbb70a46b /mobile-widgets/qml/DiveDetails.qml | |
parent | c33a952582b986c8d99b4a0e41701560e45dad7d (diff) | |
download | subsurface-ae70a751c7b5292ed4a798601d17013479508d86.tar.gz |
Mobile: save pressures
Save start and end pressures for used cylinders.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 8ef7d608d..74b1557a1 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -33,8 +33,8 @@ Kirigami.Page { property alias suitText: detailsEdit.suitText property alias suitModel: detailsEdit.suitModel property alias weight: detailsEdit.weightText - property alias startpressure0: detailsEdit.startpressureText0 - property alias endpressure0: detailsEdit.endpressureText0 + property alias startpressure: detailsEdit.startpressure + property alias endpressure: detailsEdit.endpressure property alias cylinderIndex0: detailsEdit.cylinderIndex0 property alias cylinderIndex1: detailsEdit.cylinderIndex1 property alias cylinderIndex2: detailsEdit.cylinderIndex2 @@ -262,8 +262,8 @@ Kirigami.Page { // careful when translating, this text is "magic" in DiveDetailsEdit.qml weight = "cannot edit multiple weight systems" } - startpressure0 = currentItem.modelData.dive.startPressure - endpressure0 = currentItem.modelData.dive.endPressure + startpressure = currentItem.modelData.dive.startPressure + endpressure = currentItem.modelData.dive.endPressure usedGas = currentItem.modelData.dive.firstGas usedCyl = currentItem.modelData.dive.getCylinder cylinderIndex0 = currentItem.modelData.dive.cylinderList.indexOf(usedCyl[0]) |