Commit e0efcb20 authored by Don Gagne's avatar Don Gagne

Merge pull request #3078 from DonLakeFlyer/Disconnect

Make disconnect for prominent
parents 3dce29a7 973faaf2
......@@ -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()
}
}
......
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