From 8074f12b91f7397a66c7994aabd0c3dde68b1253 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Wed, 10 Oct 2018 10:12:28 +0200 Subject: 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 --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 729fe3c20..0b7cb0ca6 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -303,6 +303,7 @@ Kirigami.Page { SsrfButton { id:rescanbutton text: qsTr("Rescan") + enabled: manager.btEnabled onClicked: { manager.btRescan() } -- cgit v1.2.3-70-g09d2