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 {
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 {
QGCButton {
id: multidisconnectButton
width: 90
width: 100
height: cellHeight
text: qsTr("Disconnect")
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