deleting timers redrawing working ping
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 12 Nov 2005 21:56:21 +0000 (21:56 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 12 Nov 2005 21:56:21 +0000 (21:56 +0000)
lib/python/Components/config.py
lib/python/Screens/TimerEdit.py

index 1486420..9c7dcb2 100644 (file)
@@ -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):
index d44e884..6f050aa 100644 (file)
@@ -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()