frontend.cpp: add SNRdb calculation for Philips TU1216 and Philips CU1216Mk3
[enigma2.git] / lib / python / Plugins / Extensions / GraphMultiEPG / GraphMultiEpg.py
index 1af90f1350423d8342c4ae6ceb9b30b4868b1f25..7f422c968cec5706c0c5641407344e40f185194a 100644 (file)
@@ -489,7 +489,8 @@ class GraphMultiEPG(Screen):
                if self.zapFunc and self["key_red"].getText() == "Zap":
                        self.closeRecursive = True
                        ref = self["list"].getCurrent()[1]
-                       self.zapFunc(ref.ref)
+                       if ref:
+                               self.zapFunc(ref.ref)
 
        def eventSelected(self):
                self.infoKeyPressed()