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