summaryrefslogtreecommitdiffstats
path: root/iw/xconfig_gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r--iw/xconfig_gui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index f9aecd2fd..45f1f8e39 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -867,9 +867,8 @@ class XConfigWindow (InstallWindow):
parent = None
iter = self.cardstore.get_iter_first()
- next = 1
# iterate over the list, looking for the current mouse selection
- while next:
+ while iter:
# if this is a parent node, get the first child and iter over them
if self.cardstore.iter_has_child(iter):
parent = iter