From 0e9ffe6bc88f7cec210e0416f36062eb0c7a3502 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 12 Nov 2005 21:56:21 +0000 Subject: [PATCH 1/1] deleting timers redrawing working ping --- lib/python/Components/config.py | 4 ++-- lib/python/Screens/TimerEdit.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 1486420c..9c7dcb29 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -77,7 +77,7 @@ class configSelection: self.checkValues() - self.parent.change() + self.parent.change() def __call__(self, selected): #needed by configlist self.checkValues() @@ -393,7 +393,7 @@ class configElement: tcnt = cnt cnt += 1 if tcnt != -1: - return tcnt + return tcnt return 0 #prevent bigger then array def datafromFile(self, control, data): diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index d44e884c..6f050aae 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -51,6 +51,7 @@ class TimerEditList(Screen): # FIXME doesn't work... self.session.nav.RecordTimer.removeEntry(self["timerlist"].getCurrent()[0]) self.fillTimerList() + self["timerlist"].l.invalidate() def addCurrentTimer(self): begin = time() -- 2.30.2