X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/cc9862b55b147eb78581813ba70d574940ac103d..8cdc6c5d6f8b6a492ccdbd2cc0df836ffc9191e8:/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)