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