summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/interfaces/interfacesetupimp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp
index 8de30de..f19cbdd 100644
--- a/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp
+++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.cpp
@@ -185,3 +185,4 @@ void InterfaceSetupImp::setProfile(const QString &profile){
secondDNSLineEdit->setText(dns.mid(dns.find(" ")+1, dns.length()));
- }
+ }else firstDNSLineEdit->setText(dns);
+
ipAddressEdit->setText(interfaces->getInterfaceOption("address", error));