X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6697d92b1ff23a236c7ebdf706fb6d6c32a399b1..1024b449f8548eb7a77361ff9d8113ab4ab7a27f:/lib/python/Components/ConfigList.py diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py index e95f8c0e..7ed00014 100644 --- a/lib/python/Components/ConfigList.py +++ b/lib/python/Components/ConfigList.py @@ -27,7 +27,14 @@ class ConfigList(HTMLComponent, GUIComponent): def invalidateCurrent(self): self.l.invalidateEntry(self.l.getCurrentSelectionIndex()) - + + def invalidate(self, entry): + i = 0 + for x in self.list: + if (entry.getConfigPath() == x[1].parent.getConfigPath()): + self.l.invalidateEntry(i) + i += 1 + def GUIcreate(self, parent): self.instance = eListbox(parent) self.instance.setContent(self.l)