diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-10-12 19:30:43 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-10-12 19:30:43 +0000 |
commit | cf2ac58ff99e651296377bdf50b723897ca880d1 (patch) | |
tree | dee328e89e8ffdd448fbb5fe3b5d03ac5e3745db /textw/network_text.py | |
parent | cb02ff310052eabe366f9d64eed2c6557d7a92b5 (diff) | |
download | anaconda-cf2ac58ff99e651296377bdf50b723897ca880d1.tar.gz anaconda-cf2ac58ff99e651296377bdf50b723897ca880d1.tar.xz anaconda-cf2ac58ff99e651296377bdf50b723897ca880d1.zip |
* textw/network_text.py (NetworkDeviceWindow): Set IPv6 entry box
sensitivity correctly. Fixes bizarre UI problems where unchecking
DHCP and IPv6 would leave all the input boxes active.
Diffstat (limited to 'textw/network_text.py')
-rw-r--r-- | textw/network_text.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/textw/network_text.py b/textw/network_text.py index ce15c359b..876bbc1a6 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -100,12 +100,13 @@ class NetworkDeviceWindow: for widget in v4list: widget.setFlags(FLAG_DISABLED, FLAGS_RESET) + if self.ipv6Cb.selected() != 0: for widget in v6list: widget.setFlags(FLAG_DISABLED, FLAGS_RESET) - if ptplist: - for widget in ptplist: - widget.setFlags(FLAG_DISABLED, FLAGS_RESET) + if ptplist: + for widget in ptplist: + widget.setFlags(FLAG_DISABLED, FLAGS_RESET) def IPV4toggled(): active = self.ipv4Cb.selected() |