diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-09-22 14:23:17 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-09-22 14:23:17 +0000 |
commit | c58b142265e2472df674eb262b7decc438f6e629 (patch) | |
tree | 6a01e4b3854a06295af4990af1a2e1ff8e86b9cb /iw/network_gui.py | |
parent | 461634bb02cd3cb16bb8cae026fca11576bbab27 (diff) | |
download | anaconda-c58b142265e2472df674eb262b7decc438f6e629.tar.gz anaconda-c58b142265e2472df674eb262b7decc438f6e629.tar.xz anaconda-c58b142265e2472df674eb262b7decc438f6e629.zip |
* iw/network_gui.py (NetworkWindow): Set DHCP checkbox to active using
correct bootproto value. Corrects a problem where you select DHCP and
IPv6 but uncheck IPv4 and the edit dialog enables and disables the
wrong widgets.
Diffstat (limited to 'iw/network_gui.py')
-rw-r--r-- | iw/network_gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py index b182fafc1..911272543 100644 --- a/iw/network_gui.py +++ b/iw/network_gui.py @@ -421,7 +421,7 @@ class NetworkWindow(InstallWindow): devbox.set_border_width(6) # go ahead and set up DHCP on the first device - DHCPcb.set_active(bootproto.lower() == 'dhcp') + DHCPcb.set_active(self.devices[dev].get('bootproto').lower() == 'dhcp') # set the IPv4 and IPv6 check boxes IPV4cb.set_active(self.network.useIPv4) |