fix boundaries of configSequence input
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 12 Oct 2005 00:25:32 +0000 (00:25 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 12 Oct 2005 00:25:32 +0000 (00:25 +0000)
lib/python/Components/config.py

index 4cdd359..5a92f07 100644 (file)
@@ -118,8 +118,7 @@ class configSequence:
                self.markedPos = 0
                
        def checkValues(self):
-               maxPos = len(self.parent.value) * self.parent.vals[1] 
-               print maxPos
+               maxPos = len(self.parent.value) * len(self.parent.vals[1]) + len(self.parent.value)
                        
                if self.markedPos >= maxPos:
                        self.markedPos = maxPos - 1