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:
2ec2a5e
)
check if screen has already been built
author
Felix Domke
<tmbinc@elitedvb.net>
Sat, 18 Nov 2006 12:28:49 +0000
(12:28 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sat, 18 Nov 2006 12:28:49 +0000
(12:28 +0000)
lib/python/Components/MenuList.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/MenuList.py
b/lib/python/Components/MenuList.py
index 708757474af99034b9cefb72502e733fe314bd71..dcbe7c1a45ea12ed93236d1ead3bfb152d36d62e 100644
(file)
--- a/
lib/python/Components/MenuList.py
+++ b/
lib/python/Components/MenuList.py
@@
-38,7
+38,8
@@
class MenuList(HTMLComponent, GUIComponent):
self.l.setList(self.list)
def moveToIndex(self, idx):
- self.instance.moveSelectionTo(idx)
+ if self.instance is not None:
+ self.instance.moveSelectionTo(idx)
def pageUp(self):
if self.instance is not None: