git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add missing import
[enigma2.git]
/
lib
/
python
/
Components
/
FIFOList.py
diff --git
a/lib/python/Components/FIFOList.py
b/lib/python/Components/FIFOList.py
index 16b51c897eb929621d5858202da540011ec77472..4adf6aff92edcd1af0e9adc6ed9bb3de48a4cd06 100644
(file)
--- a/
lib/python/Components/FIFOList.py
+++ b/
lib/python/Components/FIFOList.py
@@
-10,3
+10,7
@@
class FIFOList(MenuList):
self.list.append(item)
self.list = self.list[-self.len:]
self.l.setList(self.list)
+
+ def clear(self):
+ del self.list[:]
+ self.l.setList(self.list)