git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6738100
)
when no listbox instance is available yet, index will be 0 when list is there, so...
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:49:09 +0000
(
00:49
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:49:09 +0000
(
00:49
+0000)
lib/python/Components/Renderer/Listbox.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Renderer/Listbox.py
b/lib/python/Components/Renderer/Listbox.py
index ef8206af22c562ed33d109722b7ecbde2dca84a1..7c79acb74429484345761b7e447cd8a51eddddef 100644
(file)
--- a/
lib/python/Components/Renderer/Listbox.py
+++ b/
lib/python/Components/Renderer/Listbox.py
@@
-51,7
+51,7
@@
class Listbox(Renderer, object):
def getIndex(self):
if self.instance is None:
- return
None
+ return
0
return self.instance.getCurrentIndex()
def moveToIndex(self, index):