aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/MovieList.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index 970180cd..1a61d20f 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -59,6 +59,10 @@ class MovieList(HTMLComponent, GUIComponent):
def getCurrentIndex(self):
return self.instance.getCurrentIndex()
+ def getCurrentEvent(self):
+ l = self.l.getCurrentSelection()
+ return l and l[0] and l[1] and l[1].getEvent(l[0])
+
def getCurrent(self):
l = self.l.getCurrentSelection()
return l and l[0]