summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-10-10 10:12:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-10 06:27:21 -0700
commit8074f12b91f7397a66c7994aabd0c3dde68b1253 (patch)
treea5f0700c24ef43f48ba98fd0346af61ab27c402a /mobile-widgets/qml
parent8034af5ad5726846ea0d227d8fa3d13aebde7e36 (diff)
downloadsubsurface-8074f12b91f7397a66c7994aabd0c3dde68b1253.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml1
1 files changed, 1 insertions, 0 deletions
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()
}