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