git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another fix
[enigma2.git]
/
lib
/
python
/
Components
/
MovieList.py
diff --git
a/lib/python/Components/MovieList.py
b/lib/python/Components/MovieList.py
index 82d2c56b1c40284cf8505d36cd16b96a383a0aa9..bc659114f308bbf7a596a04a37d1dbf793129e20 100644
(file)
--- 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.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)
def GUIcreate(self, parent):
self.instance = eListbox(parent)