diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-06-25 21:19:58 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-06-25 21:36:43 -0700 |
commit | 0d082622a1387660d4a483f738c8da8bc78912de (patch) | |
tree | 1bc013becd0a3652d5faa8326be5879795fb3454 /app | |
parent | ebea3a0fb38953bd4169d3b587958bc1b909185c (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>
Diffstat (limited to 'app')
-rw-r--r-- | app/SettingsLauncher.qml | 4 |
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' |