mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 04:20:22 +01:00
Made the network preferences dialogs save whether they are using static IPs or not. Thanks to Adam for finding this one.
This commit is contained in:
@@ -178,6 +178,9 @@ class WiredSettingsDialog(AdvancedSettingsDialog):
|
||||
self.global_dns_cb.set_state(bool(wired.GetWiredProperty('use_global_dns')))
|
||||
self.static_dns_cb.set_state(bool(wired.GetWiredProperty('use_static_dns')))
|
||||
|
||||
# Set static ip checkbox. Forgot to do this the first time.
|
||||
if stringToNone(self.ip_edit.get_edit_text()):
|
||||
self.static_ip_cb.set_state(True)
|
||||
self.dns1.set_edit_text(self.format_entry( "dns1"))
|
||||
self.dns2.set_edit_text(self.format_entry( "dns2"))
|
||||
self.dns3.set_edit_text(self.format_entry( "dns3"))
|
||||
|
||||
Reference in New Issue
Block a user