fix entry_changed
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 22 Feb 2009 22:16:25 +0000 (23:16 +0100)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 22 Feb 2009 22:16:25 +0000 (23:16 +0100)
lib/python/Components/Converter/StringList.py
lib/python/Components/Sources/List.py

index 213f08bc2984a4b471ebdae243f7df328105b2c3..b21a7cf9647ae62655cff8b438f6fc38e647f5a7 100644 (file)
@@ -52,4 +52,5 @@ class StringList(Converter):
        index = property(getIndex, setIndex)
 
        def entry_changed(self, index):
-               self.downstream_elements.entry_changed(index)
+               if self.content:
+                       self.content.invalidateEntry(index)
index dbe442d17271a9b8e432dfc05987d294fcccf57f..1eab32b22db1314cf0ba458b6fa11378592038ce 100644 (file)
@@ -27,7 +27,7 @@ to generate HTML."""
 
        def entry_changed(self, index):
                if not self.disable_callbacks:
-                       self.downstream_elements.entry_changed(self, index)
+                       self.downstream_elements.entry_changed(index)
 
        def modifyEntry(self, index, data):
                self.__list[index] = data