Index: sources/gui/qml/pages/SettingsWifi.qml =================================================================== diff -u -rea52cee2614f319804690a9b1d5091bed9676753 -r5600d2133dd0ea6dc1f733aa78bd26e2a4892a38 --- sources/gui/qml/pages/SettingsWifi.qml (.../SettingsWifi.qml) (revision ea52cee2614f319804690a9b1d5091bed9676753) +++ sources/gui/qml/pages/SettingsWifi.qml (.../SettingsWifi.qml) (revision 5600d2133dd0ea6dc1f733aa78bd26e2a4892a38) @@ -152,9 +152,12 @@ height : 25 color: "transparent" imageSource : "" - text : "STATUS PLACEHOLDER" + text : vNetworkModel.status textColor: Colors.textMain textfontSize: Fonts.fontPixelTextRectExtra + anchors { + top: parent.bottom + } } ListView { id: _pairedDevices @@ -200,7 +203,16 @@ } onClicked: { - console.debug("Clicked " + ssid); + console.debug("Clicked " + ssid + " with macAddress: " + macAddress); + if (vNetworkModel.doCheckIfConnected(macAddress)) { + // TODO: show alert to confirm disconnect + } else { + // initiate connection to this network, as for password + _joinNetwork.ssid = ssid + _joinNetwork.macAddress = macAddress + _joinNetwork.visible = true + } + } } }