fix: AttributeError: 'InfoBar' object has no attribute 'selectedEntry' when start...
[enigma2.git] / 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)