Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
3b129767
Commit
3b129767
authored
Sep 01, 2016
by
Don Gagne
Browse files
Use 0 for not set
parent
16505fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/SafetyComponent.qml
View file @
3b129767
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment