aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/DivePlannerSetup.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DivePlannerSetup.qml b/mobile-widgets/qml/DivePlannerSetup.qml
index 870444275..abf5de363 100644
--- a/mobile-widgets/qml/DivePlannerSetup.qml
+++ b/mobile-widgets/qml/DivePlannerSetup.qml
@@ -119,6 +119,7 @@ Kirigami.ScrollablePage {
to: 99
stepSize: 1
value: Backend.descrate
+ enabled: !Backend.drop_stone_mode
textFromValue: function (value, locale) {
return value + speedUnit
}
@@ -126,6 +127,13 @@ Kirigami.ScrollablePage {
Backend.descrate = value
}
}
+ TemplateCheckBox {
+ text: qsTr("Drop to first depth")
+ checked: Backend.drop_stone_mode
+ onClicked: {
+ Backend.drop_stone_mode = checked
+ }
+ }
}
}
TemplateSection {