Commit 46d7ec42 authored by dogmaphobic's avatar dogmaphobic

Button too small for when it switches to disconnect (multiple links adds a...

Button too small for when it switches to disconnect (multiple links adds a drop down icon to the button).
parent 4e74c374
......@@ -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