update all non-master listboxes when any listbox changes
[enigma2.git] / lib / python / Components / Converter / StringList.py
index acbba34..213f08b 100644 (file)
@@ -18,11 +18,18 @@ class StringList(Converter):
 
        def selectionChanged(self, index):
                self.source.selectionChanged(index)
+
+       def setIndex(self, index):
                # update all non-master targets
                for x in self.downstream_elements:
                        if x is not self.master:
                                x.index = index
 
+       def getIndex(self, index):
+               return None
+       
+       index = property(getIndex, setIndex)
+
        @cached
        def getCurrent(self):
                if self.source is None or self.index is None or self.index >= len(self.source.list):