summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanimp2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.cpp b/noncore/settings/networksettings/wlan/wlanimp2.cpp
index 01c9668..73afc92 100644
--- a/noncore/settings/networksettings/wlan/wlanimp2.cpp
+++ b/noncore/settings/networksettings/wlan/wlanimp2.cpp
@@ -254,13 +254,15 @@ void WLANImp::writeOpts() {
254 keyList += "[3]"; 254 keyList += "[3]";
255 } else if (keyRadio3->isChecked()) { 255 } else if (keyRadio3->isChecked()) {
256 keyList += "[4]"; 256 keyList += "[4]";
257 } 257 }
258 interfaces->setInterfaceOption(QString("wireless_key"), keyList.join(QString(" "))); 258 interfaces->setInterfaceOption(QString("wireless_key"), keyList.join(QString(" ")));
259 } else { 259 } else {
260 interfaces->removeInterfaceOption(QString("wireless_key")); 260 interfaces->removeInterfaceOption(QString("wireless_key"));
261 } 261 }
262 interfaces->removeInterfaceOption(QString("wireless_enc")); 262 interfaces->removeInterfaceOption(QString("wireless_enc"));
263 263
264 if(!interfaceSetup->saveChanges()) 264 if(!interfaceSetup->saveChanges())
265 return; 265 return;
266
267 QDialog::accept();
266} 268}