fix(bluetooth): enable disconnect/remove for paired devices #165
This commit is contained in:
parent
5c729b25b4
commit
3891c7008a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue