on xenial help sign in
As review
commit553e4b02b8bf48e73c1844ce0e791d8de685e90a authorAndrea Cimitan <andrea.cimitan@gmail.com> dateTue 3 Feb 2015, 15:00 (12 years ago) parented2323a
1 file changed+3−1
qml/Wizard/Pages/40-wifi.qml+3−1
qml/Wizard/Pages/40-wifi.qml+3−1
@@ -48,7 +48,7 @@ LocalComponents.Page {
4848 NetworkInfo {
4949 id: networkInfo
5050
51− property string accessPointName: getAccessPointName()
51+ property string accessPointName
5252
5353 monitorCurrentNetworkMode: true
5454 monitorNetworkName: true
@@ -58,6 +58,8 @@ LocalComponents.Page {
5858 onNetworkNameChanged: getAccessPointName()
5959 onNetworkStatusChanged: if (status !== NetworkInfo.HomeNetwork) accessPointName = ""
6060
61+ Component.onCompleted: getAccessPointName()
62+
6163 function getAccessPointName() {
6264 // 0 is the interface
6365 if (currentNetworkMode === NetworkInfo.WlanMode &&