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
e0efcb20
Commit
e0efcb20
authored
Mar 26, 2016
by
Don Gagne
Browse files
Merge pull request #3078 from DonLakeFlyer/Disconnect
Make disconnect for prominent
parents
3dce29a7
973faaf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/toolbar/MainToolBar.qml
View file @
e0efcb20
...
...
@@ -569,18 +569,21 @@ Rectangle {
font.pixelSize
:
tbFontLarge
font.weight
:
Font
.
DemiBold
color
:
colorRed
anchors.left
:
parent
.
left
anchors.rightMargin
:
ScreenTools
.
defaultFontPixelWidth
anchors.right
:
disconnectButton
.
left
anchors.verticalCenter
:
parent
.
verticalCenter
visible
:
parent
.
vehicleConnectionLost
}
QGCButton
{
id
:
disconnectButton
anchors.rightMargin
:
mainWindow
.
tbSpacing
*
2
anchors.right
:
parent
.
right
anchors.verticalCenter
:
parent
.
verticalCenter
text
:
"
Disconnect
"
visible
:
parent
.
vehicleConnectionLost
primary
:
true
onClicked
:
activeVehicle
.
disconnectInactiveVehicle
()
}
}
...
...
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