aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-05 08:19:40 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-05 08:19:40 +0000
commit46b8f96749c596e31d70610c80e64fd1561c007a (patch)
treea42d7e87f7917f42c53013ee7efae7d67c5eece4 /lib/python
parentd01be7324d0aff25c09426388731ca18e69e5adb (diff)
downloadenigma2-46b8f96749c596e31d70610c80e64fd1561c007a.tar.gz
enigma2-46b8f96749c596e31d70610c80e64fd1561c007a.zip
initialize self.zapFunc always.. this fixes a bluescreen on red button press when
epgtype is not multiepg
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/EpgSelection.py2
1 files changed, 2 insertions, 0 deletions
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