only show connect button on hover
This commit is contained in:
@@ -73,7 +73,7 @@ Window {
|
|||||||
color: listItem.hovered ? "white" : "black"
|
color: listItem.hovered ? "white" : "black"
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
visible: !listItem.isConnected
|
visible: !listItem.isConnected && listItem.hovered
|
||||||
text: "Connect"
|
text: "Connect"
|
||||||
onClicked: console.log("connecting to " + listItem.name)
|
onClicked: console.log("connecting to " + listItem.name)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user