git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix small bug
[enigma2.git]
/
lib
/
python
/
Components
/
Sources
/
List.py
diff --git
a/lib/python/Components/Sources/List.py
b/lib/python/Components/Sources/List.py
index 89e1e71c123be81e681ccb1bb65622511c394f10..791929a0a66d3dd436ce2b67a04dda0266f1492e 100644
(file)
--- a/
lib/python/Components/Sources/List.py
+++ b/
lib/python/Components/Sources/List.py
@@
-66,6
+66,7
@@
to generate HTML."""
self.index = 0
else:
self.index += 1
self.index = 0
else:
self.index += 1
+ self.setIndex()
def selectPrevious(self):
if self.getIndex() - 1 < 0:
def selectPrevious(self):
if self.getIndex() - 1 < 0:
@@
-73,6
+74,7
@@
to generate HTML."""
self.index = self.count() - 1
else:
self.index -= 1
self.index = self.count() - 1
else:
self.index -= 1
+ self.setIndex()
def updateList(self, list):
"""Changes the list without changing the selection or emitting changed Events"""
def updateList(self, list):
"""Changes the list without changing the selection or emitting changed Events"""