From 39b45b84bf946f8f4f9030e2f4b09d56208e7079 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 20 Apr 2006 13:56:02 +0000 Subject: [PATCH] fix bsod when opening similar event list when no similar events exist --- lib/python/Screens/EventView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Screens/EventView.py b/lib/python/Screens/EventView.py index 522e1b42..05f2b1e3 100644 --- a/lib/python/Screens/EventView.py +++ b/lib/python/Screens/EventView.py @@ -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: -- 2.30.2