Browse Source

Make disconnect for prominent

QGC4.4
Don Gagne 9 years ago
parent
commit
973faaf20e
  1. 5
      src/ui/toolbar/MainToolBar.qml

5
src/ui/toolbar/MainToolBar.qml

@ -569,18 +569,21 @@ Rectangle { @@ -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()
}
}

Loading…
Cancel
Save