fix: AttributeError: 'InfoBar' object has no attribute 'selectedEntry' when start...
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 5 Apr 2006 21:34:20 +0000 (21:34 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 5 Apr 2006 21:34:20 +0000 (21:34 +0000)
lib/python/Screens/InfoBarGenerics.py

index 358ef44..5c9b1b8 100644 (file)
@@ -1049,6 +1049,7 @@ class InfoBarInstantRecord:
                        if answer[1] == "event":
                                limitEvent = True
                        if answer[1] == "manualduration":
+                               self.selectedEntry = len(self.recording)
                                self.session.openWithCallback(self.inputCallback, InputBox, title=_("How many minutes do you want to record?"), text="5", maxSize=False, type=Input.NUMBER)
                        self.startInstantRecording(limitEvent = limitEvent)