From: Felix Domke Date: Fri, 18 May 2007 01:50:25 +0000 (+0000) Subject: add getSelectionIndex X-Git-Tag: 2.6.0~2247 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/e25c93ddcc6a2c73b413fced441624703901e22d?ds=sidebyside add getSelectionIndex --- 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