summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetails.qml
diff options
context:
space:
mode:
authorGravatar Jocke <j.bygdell@gmail.com>2018-07-28 15:43:05 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-11 11:19:07 -0700
commitbd8eec5c8e97050b130bb2d9f02162fe189edbda (patch)
treeb68c5e85136f85e27c56920b0ee2ecaeaa5d5fea /mobile-widgets/qml/DiveDetails.qml
parenta026d8d889a58be3c0f012e13057d1ce2fe1aba0 (diff)
downloadsubsurface-bd8eec5c8e97050b130bb2d9f02162fe189edbda.tar.gz
Mobile: fix adding new dive
All the changes to multi cylinder editing broke the option to add a new dive. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 74b1557a1..5fca950bc 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -46,7 +46,11 @@ Kirigami.Page {
property alias rating: detailsEdit.rating
property alias visibility: detailsEdit.visibility
property alias usedCyl: detailsEdit.usedCyl
- property alias cylinderModel: detailsEdit.cylinderModel
+ property alias cylinderModel0: detailsEdit.cylinderModel0
+ property alias cylinderModel1: detailsEdit.cylinderModel1
+ property alias cylinderModel2: detailsEdit.cylinderModel2
+ property alias cylinderModel3: detailsEdit.cylinderModel3
+ property alias cylinderModel4: detailsEdit.cylinderModel4
title: currentItem && currentItem.modelData ? currentItem.modelData.dive.location : qsTr("Dive details")
state: "view"