--- nfo/projects/netfraggle/bin/FraggleDialogModules.py 2004/09/05 12:17:20 1.5 +++ nfo/projects/netfraggle/bin/FraggleDialogModules.py 2004/09/21 18:06:03 1.7 @@ -44,13 +44,15 @@ def __init_listbox__(self,parent): try: - for i in self.modulesCtl.modules.keys(): + for i in self.modulesCtl.modules: self.checkListBoxModules.Append(i) + if self.selections: + for b in self.selections: + self.checkListBoxModules.Check(self.modulesCtl.modules.keys().index(b)) except AttributeError: print "No Modules found" - for b in self.selections: - self.checkListBoxModules.Check(self.modulesCtl.modules.keys().index(b)) + def __init__(self, parent):