From c1742b2d2c072ddd0e3ceb4b2227120cd308a278 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 5 Apr 2006 21:34:20 +0000 Subject: [PATCH] fix: AttributeError: 'InfoBar' object has no attribute 'selectedEntry' when start a recording with manual entered duration --- lib/python/Screens/InfoBarGenerics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 358ef44d..5c9b1b8a 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -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) -- 2.30.2