summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interfacesetupimp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp
index 8d78828..49a47ae 100644
--- a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp
+++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp
@@ -49,5 +49,5 @@ bool InterfaceSetupImp::saveChanges(){
- qWarning("restarting interface %s\n", iface.latin1());
interfaces->write();
+ if (interface->getStatus()) {
QString ifup;
@@ -78,3 +78,3 @@ bool InterfaceSetupImp::saveChanges(){
interface->refresh();
-
+ }
return true;