Commit 95d3717e authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #1323 from dogmaphobic/fixConnectButton

Minor fix to "Connect" button
parents 88450aa6 46d7ec42
...@@ -469,7 +469,7 @@ Rectangle { ...@@ -469,7 +469,7 @@ Rectangle {
QGCButton { QGCButton {
id: connectButton id: connectButton
width: 90 width: 100
height: cellHeight height: cellHeight
visible: (mainToolBar.connectionCount === 0 || mainToolBar.connectionCount === 1) visible: (mainToolBar.connectionCount === 0 || mainToolBar.connectionCount === 1)
text: (mainToolBar.configList.length > 0) ? (mainToolBar.connectionCount === 0) ? qsTr("Connect") : qsTr("Disconnect") : qsTr("Add Link") 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 { QGCButton {
id: multidisconnectButton id: multidisconnectButton
width: 90 width: 100
height: cellHeight height: cellHeight
text: qsTr("Disconnect") text: qsTr("Disconnect")
visible: (mainToolBar.connectionCount > 1) visible: (mainToolBar.connectionCount > 1)
......
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