X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FConfigList.py;fp=lib%2Fpython%2FComponents%2FConfigList.py;h=47b577e21b012a69163095e706e1becb49a70710;hp=7ed6031a7fbc7612e5a26c54c93125f29793b037;hb=468f9d6d40262c6cc75a06afd2dfa232bd91bfd9;hpb=306bdc11b9e1bfa625bc57c51edc8fd042d0ba9d diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py index 7ed6031..47b577e 100644 --- a/lib/python/Components/ConfigList.py +++ b/lib/python/Components/ConfigList.py @@ -48,6 +48,10 @@ class ConfigList(HTMLComponent, GUIComponent, object): def getCurrentIndex(self): return self.l.getCurrentSelectionIndex() + def setCurrentIndex(self, index): + if self.instance is not None: + self.instance.moveSelectionTo(index) + def invalidateCurrent(self): self.l.invalidateEntry(self.l.getCurrentSelectionIndex())