add getSelectionIndex
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 18 May 2007 01:50:25 +0000 (01:50 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 18 May 2007 01:50:25 +0000 (01:50 +0000)
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