mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 21:08:06 +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 \
|
if entry.chkbox_static_dns.get_active() and \
|
||||||
not entry.chkbox_global_dns.get_active():
|
not entry.chkbox_global_dns.get_active():
|
||||||
req_entlist.append(entry.txt_dns_1)
|
for ent in [entry.txt_dns_1, entry.txt_dns_2, entry.txt_dns_3]:
|
||||||
# Only append additional dns entries if they're entered.
|
|
||||||
for ent in [entry.txt_dns_2, entry.txt_dns_3]:
|
|
||||||
if ent.get_text() != "":
|
|
||||||
opt_entlist.append(ent)
|
opt_entlist.append(ent)
|
||||||
|
|
||||||
# Required entries.
|
# Required entries.
|
||||||
|
|||||||
Reference in New Issue
Block a user