aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/FileList.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/FileList.py b/lib/python/Components/FileList.py
index 01358d53..3091436f 100644
--- a/lib/python/Components/FileList.py
+++ b/lib/python/Components/FileList.py
@@ -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