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
3f9493a0
Commit
3f9493a0
authored
Jun 08, 2020
by
Jacob Dahl
Browse files
updated to use forwardMavlinkHostName visible property for visible setting of qml items
parent
7b5733de
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/preferences/MavlinkSettings.qml
View file @
3f9493a0
...
...
@@ -166,14 +166,14 @@ Rectangle {
QGCLabel
{
width
:
_labelWidth
anchors.baseline
:
mavlinkForwardingHostNameField
.
baseline
visible
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
.
visible
visible
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
HostName
.
visible
text
:
qsTr
(
"
Host name:
"
)
}
FactTextField
{
id
:
mavlinkForwardingHostNameField
fact
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlinkHostName
width
:
_valueWidth
visible
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
.
visible
visible
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
HostName
.
visible
enabled
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
.
rawValue
anchors.verticalCenter
:
parent
.
verticalCenter
}
...
...
@@ -181,7 +181,7 @@ Rectangle {
}
QGCLabel
{
text
:
qsTr
(
"
<i> Changing the host name requires restart of application. </i>
"
)
visible
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
.
visible
visible
:
QGroundControl
.
settingsManager
.
appSettings
.
forwardMavlink
HostName
.
visible
}
}
}
...
...
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