add missing import
[enigma2.git] / lib / python / Components / FIFOList.py
index 16b51c897eb929621d5858202da540011ec77472..4adf6aff92edcd1af0e9adc6ed9bb3de48a4cd06 100644 (file)
@@ -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)