mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
8034af5ad5
commit
8074f12b91
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue