- fix bluescreen caused by wrong list handling
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Jan 2008 22:16:17 +0000 (22:16 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Jan 2008 22:16:17 +0000 (22:16 +0000)
lib/python/Screens/Wizard.py

index 2f76e3b..4fa0b30 100644 (file)
@@ -289,7 +289,7 @@ class Wizard(Screen, HelpableScreen):
                elif (self.showList and len(self.wizard[self.currStep]["evaluatedlist"]) > 0):
                        self["list"].selectPrevious()
                        if self.wizard[self.currStep].has_key("onselect"):
-                               self.selection = self.wizard[self.currStep]["evaluatedlist"][self["list"].l.getCurrentSelectionIndex()][1]
+                               self.selection = self["list"].current[1]
                                exec("self." + self.wizard[self.currStep]["onselect"] + "()")
                print "up"