X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2e7756545fac96085253c4f669d12e5665cecae3..b2cb2cf5a88d2df60af474ced13e3c90891cf841:/lib/python/Components/MovieList.py diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 82d2c56b..bc659114 100644 --- a/lib/python/Components/MovieList.py +++ b/lib/python/Components/MovieList.py @@ -63,7 +63,8 @@ class MovieList(HTMLComponent, GUIComponent): return self.instance.getCurrentIndex() def getCurrent(self): - return self.l.getCurrentSelection()[0] + l = self.l.getCurrentSelection() + return l and l[0] def GUIcreate(self, parent): self.instance = eListbox(parent)