diff --git a/ui/qml/pages/PairPage.qml b/ui/qml/pages/PairPage.qml index 1ab65c19..d2ee781d 100644 --- a/ui/qml/pages/PairPage.qml +++ b/ui/qml/pages/PairPage.qml @@ -21,7 +21,11 @@ PageListPL { property QtObject _bluetoothManager : BluezQt.Manager function startDiscovery() { - if (!adapter || adapter.discovering) { + if (!adapter) { + showMessage(qsTr("Bluetooth adapter is not available")) + return + } + if (adapter.discovering) { return } adapter.startDiscovery()