git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DreamInfoHandler.py: small update for new index.xml's.
[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 26c68ab5a874f30ef6e29ab6eadb9e2d9b80bf9b..1eab32b22db1314cf0ba458b6fa11378592038ce 100644
(file)
--- a/
lib/python/Components/Sources/List.py
+++ b/
lib/python/Components/Sources/List.py
@@
-27,8
+27,12
@@
to generate HTML."""
def entry_changed(self, index):
if not self.disable_callbacks:
def entry_changed(self, index):
if not self.disable_callbacks:
- self.downstream_elements.entry_changed(self, index)
-
+ self.downstream_elements.entry_changed(index)
+
+ def modifyEntry(self, index, data):
+ self.__list[index] = data
+ self.entry_changed(index)
+
def count(self):
return len(self.__list)
def count(self):
return len(self.__list)
@@
-36,6
+40,11
@@
to generate HTML."""
if self.disable_callbacks:
return
if self.disable_callbacks:
return
+ # update all non-master targets
+ for x in self.downstream_elements:
+ if x is not self.master:
+ x.index = index
+
for x in self.onSelectionChanged:
x()
for x in self.onSelectionChanged:
x()