summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/wifi/Wifi.qml15
1 files changed, 14 insertions, 1 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index e17b1f5..b4f4485 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -61,6 +61,7 @@ SettingPage {
Column {
anchors.left: icon.right
anchors.leftMargin: 5
+ id: networkName
Label {
id: networkNameText
text: ssid
@@ -77,7 +78,19 @@ SettingPage {
color: "white"
}
}
-
+ Column {
+ anchors.left: networkName.right
+ anchors.leftMargin: 50
+ Button {
+ visible: sstate === "ready"
+ || sstate === "online"
+ text: 'Forget Network'
+ onClicked: {
+ console.log("Removing network ", ssid, " (", service, ")")
+ network.remove(service)
+ }
+ }
+ }
onClicked: {
if ((sstate === "ready") || sstate === "online") {
console.log("Disconnecting from ", ssid, " (", service, ")")