aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/MenuList.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py
index 4e032d43..b12cb236 100644
--- a/lib/python/Components/MenuList.py
+++ b/lib/python/Components/MenuList.py
@@ -29,4 +29,7 @@ class MenuList(HTMLComponent, GUIComponent):
def setList(self, list):
self.list = list
- self.l.setList(self.list) \ No newline at end of file
+ self.l.setList(self.list)
+
+ def moveToIndex(self, idx):
+ self.instance.moveSelectionTo(idx)