From 477d82f90df9a7e775db05f2f3d1e1cebdf36fbf Mon Sep 17 00:00:00 2001 From: talksik Date: Fri, 9 Feb 2024 10:49:00 -0800 Subject: [PATCH] only show connect button on hover --- Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.qml b/Main.qml index ba4e271..7590ec0 100644 --- a/Main.qml +++ b/Main.qml @@ -73,7 +73,7 @@ Window { color: listItem.hovered ? "white" : "black" } Button { - visible: !listItem.isConnected + visible: !listItem.isConnected && listItem.hovered text: "Connect" onClicked: console.log("connecting to " + listItem.name) }