summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/assets/Characteristics.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/Characteristics.qml')
-rw-r--r--examples/bluetooth/lowenergyscanner/assets/Characteristics.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/Characteristics.qml b/examples/bluetooth/lowenergyscanner/assets/Characteristics.qml
index 4a7db471..ac3b7151 100644
--- a/examples/bluetooth/lowenergyscanner/assets/Characteristics.qml
+++ b/examples/bluetooth/lowenergyscanner/assets/Characteristics.qml
@@ -62,10 +62,13 @@ Rectangle {
target: device
onCharacteristicsUpdated: {
menu.menuText = "Back"
- if (characteristicview.count === 0)
+ if (characteristicview.count === 0) {
info.dialogText = "No characteristic found"
- else
- info.visible = false;
+ info.busyImage = false
+ } else {
+ info.visible = false
+ info.busyImage = true
+ }
}
onDisconnected: {