fix: AttributeError: 'InfoBar' object has no attribute 'selectedEntry' when start...
[enigma2.git] / lib / python / Screens / InfoBarGenerics.py
index 358ef44d87eee53733ee6a55ae65be9b4dbad498..5c9b1b8a01eca051eb92a1d315f3035e66509fad 100644 (file)
@@ -1049,6 +1049,7 @@ class InfoBarInstantRecord:
                        if answer[1] == "event":
                                limitEvent = True
                        if answer[1] == "manualduration":
                        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)
 
                                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)