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 213f08b..b21a7cf 100644 (file)
@@ -52,4 +52,5 @@ class StringList(Converter):
        index = property(getIndex, setIndex)
 
        def entry_changed(self, index):
        index = property(getIndex, setIndex)
 
        def entry_changed(self, index):
-               self.downstream_elements.entry_changed(index)
+               if self.content:
+                       self.content.invalidateEntry(index)
index dbe442d..1eab32b 100644 (file)
@@ -27,7 +27,7 @@ to generate HTML."""
 
        def entry_changed(self, index):
                if not self.disable_callbacks:
 
        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
 
        def modifyEntry(self, index, data):
                self.__list[index] = data