mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
mobile-widgets/qml: main reference qPrefGeneral.default_cylinder wrongly
change qPrefGeneral.default_cylinder -> qPrefEquipment.default_cylinder Signed-off-by: jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
59d72474d6
commit
b25e791d13
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ Kirigami.ApplicationWindow {
|
|||
detailsWindow.cylinderModel2 = manager.cylinderInit
|
||||
detailsWindow.cylinderModel3 = manager.cylinderInit
|
||||
detailsWindow.cylinderModel4 = manager.cylinderInit
|
||||
detailsWindow.cylinderIndex0 = PrefGeneral.default_cylinder == "" ? -1 : detailsWindow.cylinderModel0.indexOf(PrefGeneral.default_cylinder)
|
||||
detailsWindow.cylinderIndex0 = PrefEquipment.default_cylinder == "" ? -1 : detailsWindow.cylinderModel0.indexOf(PrefEquipment.default_cylinder)
|
||||
detailsWindow.usedCyl = ["",]
|
||||
detailsWindow.weight = ""
|
||||
detailsWindow.usedGas = []
|
||||
|
@ -412,7 +412,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
|
|||
onTriggered: {
|
||||
globalDrawer.close()
|
||||
settingsWindow.defaultCylinderModel = manager.cylinderInit
|
||||
PrefGeneral.default_cylinder === "" ? defaultCylinderIndex = "-1" : defaultCylinderIndex = settingsWindow.defaultCylinderModel.indexOf(PrefGeneral.default_cylinder)
|
||||
PrefEquipment.default_cylinder === "" ? defaultCylinderIndex = "-1" : defaultCylinderIndex = settingsWindow.defaultCylinderModel.indexOf(PrefEquipment.default_cylinder)
|
||||
pageStack.push(settingsWindow)
|
||||
detailsWindow.endEditMode()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue