QML UI: disable rescan when no bluetooth

This is cosmetic only. It make no sense to selected rescan when
Bluetooth is off.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2018-10-10 10:12:28 +02:00 committed by Dirk Hohndel
parent 8034af5ad5
commit 8074f12b91

View file

@ -303,6 +303,7 @@ Kirigami.Page {
SsrfButton { SsrfButton {
id:rescanbutton id:rescanbutton
text: qsTr("Rescan") text: qsTr("Rescan")
enabled: manager.btEnabled
onClicked: { onClicked: {
manager.btRescan() manager.btRescan()
} }