fix selection when delete latest timer in list
[enigma2.git] / lib / python / Components / TimerList.py
index d79187d185723bd4166ec84369ef1ca3281c6eb7..8bb6a0d9c263b408c3a54932e32b5acee6d7f769 100644 (file)
@@ -76,7 +76,16 @@ class TimerList(HTMLComponent, GUIComponent):
                self.instance = eListbox(parent)
                self.instance.setContent(self.l)
                self.instance.setItemHeight(70)
-       
+
+       def moveToIndex(self, index):
+               self.instance.moveSelectionTo(index)
+
+       def getCurrentIndex(self):
+               return self.instance.getCurrentIndex()
+
+       def moveDown(self):
+               self.instance.moveSelection(self.instance.moveDown)
+
        def GUIdelete(self):
                self.instance.setContent(None)
                self.instance = None