aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Converter/StringList.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-16 18:25:23 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-16 18:25:23 +0100
commitd58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763 (patch)
treef96b8eae81d7aa0c2d11eda8bcda1e4b87f96e78 /lib/python/Components/Converter/StringList.py
parent4510fa62a33b31fec442fd0d77eb682d93ebf7e6 (diff)
parentfbaf2a5f2fa5236b09a4d14f059d99eace24f2d5 (diff)
downloadenigma2-d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763.tar.gz
enigma2-d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763.zip
Merge branch 'master' of /home/tmbinc/enigma2-git into tmbinc/FixTimingBugs
Diffstat (limited to 'lib/python/Components/Converter/StringList.py')
-rw-r--r--lib/python/Components/Converter/StringList.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/Converter/StringList.py b/lib/python/Components/Converter/StringList.py
index d424d39f..226247c4 100644
--- a/lib/python/Components/Converter/StringList.py
+++ b/lib/python/Components/Converter/StringList.py
@@ -18,6 +18,8 @@ class StringList(Converter):
def selectionChanged(self, index):
self.source.selectionChanged(index)
+
+ def setIndex(self, index):
# update all non-master targets
print "changed selection in listbox!"
for x in self.downstream_elements:
@@ -26,6 +28,11 @@ class StringList(Converter):
print "is not master, so update to index", index
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):