fix bluescreen when adding an timer event with subservices
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 6 May 2006 09:44:35 +0000 (09:44 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 6 May 2006 09:44:35 +0000 (09:44 +0000)
lib/python/Screens/TimerEntry.py

index 27e82abbdf57f4af71e9c926ccf8f4976f41a437..349f4fda7f5a79e8d41a2d077cb7cb674f6d7bf5 100644 (file)
@@ -291,6 +291,7 @@ class TimerEntry(Screen):
                                        tlist = []
                                        ref = self.session.nav.getCurrentlyPlayingServiceReference()
                                        parent = self.timer.service_ref.ref
+                                       selection = 0
                                        for x in range(n):
                                                i = event.getLinkageService(parent, x)
                                                if i.toString() == ref.toString():