summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-06-25 21:19:58 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-28 14:25:21 +0000
commit734fde2e846eea80049cb36e73cb6d361b6a82d3 (patch)
tree3c45a90dfbcf2c25585361ddf4a263a483c53a3a
parent72185231c33099b00bfb98f27175a6e225c9ab64 (diff)
qml: launcher: initial bt + wifi states on load
Initial load didn't have the actual BT or WiFi states on the slider switches. This patchset sets them after probing to find current state via DBus services. Change-Id: I9e0bc0a6477c81d5acf7adfe3d5f15d941c33da9 Bug-AGL: SPEC-703 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--app/SettingsLauncher.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/SettingsLauncher.qml b/app/SettingsLauncher.qml
index 4591cb4..e100c4a 100644
--- a/app/SettingsLauncher.qml
+++ b/app/SettingsLauncher.qml
@@ -63,6 +63,10 @@ Page {
checkedSwitch.checked = model.app.checked
}
}
+
+ Component.onCompleted: {
+ checkedSwitch.checked = model.app.checked
+ }
}
Image {
source: '../images/HMI_Settings_DividingLine.svg'