fix bsod when opening similar event list when no similar events exist
[enigma2.git] / lib / python / Screens / EventView.py
index 522e1b4..05f2b1e 100644 (file)
@@ -133,7 +133,7 @@ class EventViewBase:
                        self["key_red"].setText(_("Similar"))
 
        def openSimilarList(self):
-               if self.similarEPGCB is not None:
+               if self.similarEPGCB is not None and len(self["key_red"].getText()):
                        id = self.event and self.event.getEventId()
                        refstr = str(self.currentService)
                        if id is not None: