From: Felix Domke Date: Sun, 22 Feb 2009 22:16:25 +0000 (+0100) Subject: fix entry_changed X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=7a8ce89bacc1f2f6ff77409b9a879462daf09afe fix entry_changed --- diff --git a/lib/python/Components/Converter/StringList.py b/lib/python/Components/Converter/StringList.py index 213f08b..b21a7cf 100644 --- a/lib/python/Components/Converter/StringList.py +++ b/lib/python/Components/Converter/StringList.py @@ -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) diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py index dbe442d..1eab32b 100644 --- a/lib/python/Components/Sources/List.py +++ b/lib/python/Components/Sources/List.py @@ -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