fix small bug
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 13 Aug 2008 19:45:30 +0000 (19:45 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 13 Aug 2008 19:45:30 +0000 (19:45 +0000)
lib/python/Components/Sources/List.py

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