aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-20 13:56:02 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-20 13:56:02 +0000
commit39b45b84bf946f8f4f9030e2f4b09d56208e7079 (patch)
tree4499fc0a56e1ee3adc46756dbe3a17865c87b395 /lib/python
parent91bbfc14c466eb8955c604494ecaee32737b34c8 (diff)
downloadenigma2-39b45b84bf946f8f4f9030e2f4b09d56208e7079.tar.gz
enigma2-39b45b84bf946f8f4f9030e2f4b09d56208e7079.zip
fix bsod when opening similar event list when no similar events exist
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/EventView.py2
1 files changed, 1 insertions, 1 deletions
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: