X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/cc9862b55b147eb78581813ba70d574940ac103d..337572d8d61c37c2121a96ec7ab79e191eaa2e29:/lib/python/Components/FIFOList.py diff --git a/lib/python/Components/FIFOList.py b/lib/python/Components/FIFOList.py index 16b51c89..4adf6aff 100644 --- 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)