aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ConfigList.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-10-28 09:22:33 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-10-28 09:22:33 +0000
commit468f9d6d40262c6cc75a06afd2dfa232bd91bfd9 (patch)
treeca09191efe4789e7084845e964c80b4e860262d0 /lib/python/Components/ConfigList.py
parent306bdc11b9e1bfa625bc57c51edc8fd042d0ba9d (diff)
downloadenigma2-468f9d6d40262c6cc75a06afd2dfa232bd91bfd9.tar.gz
enigma2-468f9d6d40262c6cc75a06afd2dfa232bd91bfd9.zip
parental control:
automatically wrap to validation pin entry in pin changing dialog when 4 figures were entered leave dialog when 4 figures were entered in the validation pin entry
Diffstat (limited to 'lib/python/Components/ConfigList.py')
-rw-r--r--lib/python/Components/ConfigList.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py
index 7ed6031a..47b577e2 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())