diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-10-10 10:12:28 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-10 06:27:21 -0700 |
commit | 8074f12b91f7397a66c7994aabd0c3dde68b1253 (patch) | |
tree | a5f0700c24ef43f48ba98fd0346af61ab27c402a /mobile-widgets/qml | |
parent | 8034af5ad5726846ea0d227d8fa3d13aebde7e36 (diff) | |
download | subsurface-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.qml | 1 |
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() } |