fix(bluetooth): enable disconnect/remove for paired devices #165

This commit is contained in:
Oleksiy Nedobiychuk 2025-08-31 21:00:15 +02:00
parent 5c729b25b4
commit 3891c7008a

View file

@ -264,6 +264,7 @@ ColumnLayout {
}
MouseArea {
id: availableDeviceArea
acceptedButtons: Qt.LeftButton | Qt.RightButton
anchors.fill: parent
@ -279,7 +280,7 @@ ColumnLayout {
tooltip.hide()
}
}
onClicked: {
onClicked: function(mouse) {
if (!modelData || modelData.pairing) {
return