-rw-r--r-- | noncore/net/networksetup/wlan/wlanimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp index 74bf390..01d7e36 100644 --- a/noncore/net/networksetup/wlan/wlanimp.cpp +++ b/noncore/net/networksetup/wlan/wlanimp.cpp @@ -118,13 +118,13 @@ bool WLANImp::writeConfig() /** */ void WLANImp::accept() { if ( writeConfig() ){ - interfaceSetup->saveChanges(); + if(interfaceSetup->saveChanges()) QDialog::accept(); } } bool WLANImp::writeWirelessOpts( QString scheme ) { |