From 46b8f96749c596e31d70610c80e64fd1561c007a Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 5 May 2006 08:19:40 +0000 Subject: [PATCH] initialize self.zapFunc always.. this fixes a bluescreen on red button press when epgtype is not multiepg --- lib/python/Screens/EpgSelection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py index 331fe75e..3dbba0fd 100644 --- a/lib/python/Screens/EpgSelection.py +++ b/lib/python/Screens/EpgSelection.py @@ -32,11 +32,13 @@ class EPGSelection(Screen): self["key_red"] = Button() self.currentService=service self.eventid = eventid + self.zapFunc = None elif isinstance(service, eServiceReference) or isinstance(service, str): self.type = EPG_TYPE_SINGLE self["key_yellow"] = Button() self["key_blue"] = Button() self.currentService=ServiceReference(service) + self.zapFunc = None else: self.skinName = "EPGSelectionMulti" self.type = EPG_TYPE_MULTI -- 2.30.2