summaryrefslogtreecommitdiffstats
path: root/iw/network_gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-04-04 16:20:49 +0000
committerMatt Wilson <msw@redhat.com>2001-04-04 16:20:49 +0000
commitc6ee7d445af49a1d413f525275994e94ccdf3556 (patch)
treeaf68921c3fa60f11cedad963cd1a777eafb75e2b /iw/network_gui.py
parent53e111babbfb3f1c94dee85dae633e97751be376 (diff)
downloadanaconda-c6ee7d445af49a1d413f525275994e94ccdf3556.tar.gz
anaconda-c6ee7d445af49a1d413f525275994e94ccdf3556.tar.xz
anaconda-c6ee7d445af49a1d413f525275994e94ccdf3556.zip
really fix #31876
Diffstat (limited to 'iw/network_gui.py')
-rw-r--r--iw/network_gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py
index 7430553ba..cade535a4 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -182,7 +182,8 @@ class NetworkWindow (InstallWindow):
align = GtkAlignment ()
bootcb = GtkCheckButton (_("Activate on boot"))
- bootcb.set_active (devs[i].get ("onboot") == "yes")
+ bootcb.set_active (devs[i].get ("onboot") and
+ devs[i].get ("onboot") == "yes")
bootcb.connect ("toggled", self.onBootToggled, devs[i])
align.add (bootcb)