From 9c9450748b088c7ffe2ab7c74e6b3d6e1688b104 Mon Sep 17 00:00:00 2001 From: Jocke Date: Sat, 28 Jul 2018 15:07:43 +0200 Subject: Mobile: display all used gases on the edit page Signed-off-by: Joakim Bygdell --- mobile-widgets/qml/DiveDetails.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mobile-widgets/qml/DiveDetails.qml') diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 5f88e6a48..8ef7d608d 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -40,7 +40,7 @@ Kirigami.Page { property alias cylinderIndex2: detailsEdit.cylinderIndex2 property alias cylinderIndex3: detailsEdit.cylinderIndex3 property alias cylinderIndex4: detailsEdit.cylinderIndex4 - property alias gasmix0: detailsEdit.gasmixText0 + property alias usedGas: detailsEdit.usedGas property alias gpsCheckbox: detailsEdit.gpsCheckbox property int updateCurrentIdx: manager.updateSelectedDive property alias rating: detailsEdit.rating @@ -264,7 +264,7 @@ Kirigami.Page { } startpressure0 = currentItem.modelData.dive.startPressure endpressure0 = currentItem.modelData.dive.endPressure - gasmix0 = currentItem.modelData.dive.firstGas + usedGas = currentItem.modelData.dive.firstGas usedCyl = currentItem.modelData.dive.getCylinder cylinderIndex0 = currentItem.modelData.dive.cylinderList.indexOf(usedCyl[0]) cylinderIndex1 = currentItem.modelData.dive.cylinderList.indexOf(usedCyl[1]) -- cgit v1.2.3-70-g09d2