Browse Source

Button too small for when it switches to disconnect (multiple links adds a drop down icon to the button).

QGC4.4
dogmaphobic 10 years ago
parent
commit
46d7ec4221
  1. 4
      src/ui/toolbar/MainToolBar.qml

4
src/ui/toolbar/MainToolBar.qml

@ -469,7 +469,7 @@ Rectangle { @@ -469,7 +469,7 @@ Rectangle {
QGCButton {
id: connectButton
width: 90
width: 100
height: cellHeight
visible: (mainToolBar.connectionCount === 0 || mainToolBar.connectionCount === 1)
text: (mainToolBar.configList.length > 0) ? (mainToolBar.connectionCount === 0) ? qsTr("Connect") : qsTr("Disconnect") : qsTr("Add Link")
@ -496,7 +496,7 @@ Rectangle { @@ -496,7 +496,7 @@ Rectangle {
QGCButton {
id: multidisconnectButton
width: 90
width: 100
height: cellHeight
text: qsTr("Disconnect")
visible: (mainToolBar.connectionCount > 1)

Loading…
Cancel
Save