mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
Allow empty DNS fields (LP: #492795)
This commit is contained in:
@@ -604,10 +604,7 @@ class appGui(object):
|
||||
|
||||
if entry.chkbox_static_dns.get_active() and \
|
||||
not entry.chkbox_global_dns.get_active():
|
||||
req_entlist.append(entry.txt_dns_1)
|
||||
# Only append additional dns entries if they're entered.
|
||||
for ent in [entry.txt_dns_2, entry.txt_dns_3]:
|
||||
if ent.get_text() != "":
|
||||
for ent in [entry.txt_dns_1, entry.txt_dns_2, entry.txt_dns_3]:
|
||||
opt_entlist.append(ent)
|
||||
|
||||
# Required entries.
|
||||
|
||||
Reference in New Issue
Block a user