From: Andreas Monzner Date: Wed, 5 Apr 2006 21:34:20 +0000 (+0000) Subject: fix: AttributeError: 'InfoBar' object has no attribute 'selectedEntry' when start... X-Git-Tag: 2.6.0~3700 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/c1742b2d2c072ddd0e3ceb4b2227120cd308a278 fix: AttributeError: 'InfoBar' object has no attribute 'selectedEntry' when start a recording with manual entered duration --- 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)