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
65e878e5
Commit
65e878e5
authored
May 03, 2017
by
DonLakeFlyer
Browse files
Prevent binding error
parent
b49760af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/ParameterEditorDialog.qml
View file @
65e878e5
...
...
@@ -138,7 +138,9 @@ QGCViewDialog {
}
onCurrentIndexChanged
:
{
valueField
.
text
=
fact
.
enumValues
[
currentIndex
]
if
(
currentIndex
>=
0
&&
currentIndex
<
model
.
length
)
{
valueField
.
text
=
fact
.
enumValues
[
currentIndex
]
}
}
}
...
...
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