From: Stefan Pluecken Date: Wed, 18 Jan 2006 02:55:05 +0000 (+0000) Subject: fix stopEvent for EventInfoProgress X-Git-Tag: 2.6.0~4382 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/3803ee9372af957b2fa7e3edd39a0d5f703ab7ab?hp=984331e8556f07cee27bfb4416c4391ff0c2ce62 fix stopEvent for EventInfoProgress --- diff --git a/lib/python/Components/EventInfo.py b/lib/python/Components/EventInfo.py index ce13ba85..6202fb8b 100644 --- a/lib/python/Components/EventInfo.py +++ b/lib/python/Components/EventInfo.py @@ -60,7 +60,8 @@ class EventInfoProgress(PerServiceDisplayProgress, EventInfo): def update(self, ev): self.g.setRange(0, ev.getDuration()) progress = int(time() - ev.getBeginTime()) - + self.setValue(progress) - \ No newline at end of file + def stopEvent(self): + self.setValue(0) \ No newline at end of file