summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
Diffstat (limited to 'iw')
-rw-r--r--iw/network_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/network_gui.py b/iw/network_gui.py
index 9717486ec..d81722b2c 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -167,9 +167,9 @@ class NetworkWindow (InstallWindow):
align = GtkAlignment ()
bootcb = GtkCheckButton (_("Activate on boot"))
onboot = devs[i].get ("onboot")
+ bootcb.connect ("toggled", self.onBootToggled, devs[i])
bootcb.set_active ((num == 0 and not onboot)
or onboot == "yes")
- bootcb.connect ("toggled", self.onBootToggled, devs[i])
align.add (bootcb)
devbox.pack_start (align, FALSE)