add getSelectionIndex
[enigma2.git] / lib / python / Components / FileList.py
index 01358d5..3091436 100644 (file)
@@ -65,6 +65,9 @@ class FileList(MenuList, HTMLComponent, GUIComponent):
                        return None
                return self.l.getCurrentSelection()[0]
        
+       def getSelectionIndex(self):
+               return self.l.getCurrentSelectionIndex()
+
        def getFileList(self):
                return self.list