2nd try ;)
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 13 Aug 2008 19:51:46 +0000 (19:51 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 13 Aug 2008 19:51:46 +0000 (19:51 +0000)
lib/python/Components/Sources/List.py

index 791929a..ef9c1c8 100644 (file)
@@ -66,7 +66,7 @@ to generate HTML."""
                                self.index = 0
                else:
                        self.index += 1
                                self.index = 0
                else:
                        self.index += 1
-               self.setIndex()
+               self.setIndex(self.index)
 
        def selectPrevious(self):
                if self.getIndex() - 1 < 0:
 
        def selectPrevious(self):
                if self.getIndex() - 1 < 0:
@@ -74,7 +74,7 @@ to generate HTML."""
                                self.index = self.count() - 1
                else:
                        self.index -= 1
                                self.index = self.count() - 1
                else:
                        self.index -= 1
-               self.setIndex()
+               self.setIndex(self.index)
 
        def updateList(self, list):
                """Changes the list without changing the selection or emitting changed Events"""
 
        def updateList(self, list):
                """Changes the list without changing the selection or emitting changed Events"""