summaryrefslogtreecommitdiffstats
path: root/src/settingsui/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsui/network')
-rw-r--r--src/settingsui/network/WifiSettings.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settingsui/network/WifiSettings.qml b/src/settingsui/network/WifiSettings.qml
index b7779bd..8bb8ee2 100644
--- a/src/settingsui/network/WifiSettings.qml
+++ b/src/settingsui/network/WifiSettings.qml
@@ -197,6 +197,9 @@ Item {
onClicked: {
connectView.visible = false
NetworkSettingsManager.userAgent.setPassphrase(passphrase.text)
+ if (networkSelection.currentIndex != -1) {
+ NetworkSettingsManager.services.itemFromRow(networkSelection.currentIndex).connectService();
+ }
}
}
Button {
@@ -238,6 +241,9 @@ Item {
errorView.visible = true
connectView.visible = true
root.connecting = false
+ if (networkSelection.currentIndex != -1) {
+ NetworkSettingsManager.services.itemFromRow(networkSelection.currentIndex).removeService();
+ }
}
}
}