Commit 3b129767 authored by Don Gagne's avatar Don Gagne

Use 0 for not set

parent 16505fd3
......@@ -313,8 +313,8 @@ SetupPage {
id: fenceRadiusCheckBox
anchors.baseline: fenceRadiusField.baseline
text: qsTr("Max radius:")
checked: _fenceRadius.value >= 0
onClicked: _fenceRadius.value = checked ? 100 : -1
checked: _fenceRadius.value > 0
onClicked: _fenceRadius.value = checked ? 100 : 0
width: _middleRowWidth
}
FactTextField {
......@@ -330,8 +330,8 @@ SetupPage {
id: fenceAltMaxCheckBox
anchors.baseline: fenceAltMaxField.baseline
text: qsTr("Max altitude:")
checked: _fenceAlt.value >= 0
onClicked: _fenceAlt.value = checked ? 100 : -1
checked: _fenceAlt.value > 0
onClicked: _fenceAlt.value = checked ? 100 : 0
width: _middleRowWidth
}
FactTextField {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment