summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.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/main.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/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml16
1 files changed, 10 insertions, 6 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index d8e11809c..6e9b98ce7 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -96,13 +96,17 @@ Kirigami.ApplicationWindow {
detailsWindow.suitModel = manager.suitList
detailsWindow.suitIndex = -1
detailsWindow.suitText = ""
- detailsWindow.cylinderModel = manager.cylinderInit
- detailsWindow.cylinderIndex = -1
- detailsWindow.cylinderText = ""
+ detailsWindow.cylinderModel0 = manager.cylinderInit
+ detailsWindow.cylinderModel1 = manager.cylinderInit
+ detailsWindow.cylinderModel2 = manager.cylinderInit
+ detailsWindow.cylinderModel3 = manager.cylinderInit
+ detailsWindow.cylinderModel4 = manager.cylinderInit
+ detailsWindow.cylinderIndex0 = -1
+ detailsWindow.usedCyl = ["",]
detailsWindow.weight = ""
- detailsWindow.gasmix = ""
- detailsWindow.startpressure = ""
- detailsWindow.endpressure = ""
+ detailsWindow.usedGas = []
+ detailsWindow.startpressure = []
+ detailsWindow.endpressure = []
detailsWindow.gpsCheckbox = false
stackView.push(detailsWindow)
}