summaryrefslogtreecommitdiffstats
path: root/app/Settings.qml
diff options
context:
space:
mode:
authorMilan Srdinko <msrdinko@alps.cz>2017-04-21 13:17:49 +0200
committerMilan Srdinko <msrdinko@alps.cz>2017-04-21 14:57:15 +0200
commita439f966d66555251fedbae99fb51757778c7456 (patch)
treed2412f840a37a146e6a880b814a70bb561c89f07 /app/Settings.qml
parent607d2a47e93b721ef9671d62109384a290094b5f (diff)
WiFi: Fix WiFi UI not sync with network manager
Fix error that state of WiFi ON/OFF button after widget start is not in sync with actual state of wireless adapter. Change-Id: I71ac07d11b2364d6dbb69b492774323c9c39fbd6 AGL-BUG: SPEC-531 Signed-off-by: Milan Srdinko <msrdinko@alps.cz>
Diffstat (limited to 'app/Settings.qml')
-rw-r--r--app/Settings.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Settings.qml b/app/Settings.qml
index b3a622a..0d74c3b 100644
--- a/app/Settings.qml
+++ b/app/Settings.qml
@@ -49,6 +49,8 @@ ApplicationWindow {
if (!app.isSetting) continue
settingsModel.append({'icon': app.icon, 'title': app.title, 'checkable': app.checkable, 'app': app})
app.visible = false
+
+ if (app.isWifi) app.activateWifi()
}
}