aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-03-07 00:37:08 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-03-07 00:37:08 +0000
commit83f4ccb619caa33b0a676fe72bdd997efed6959a (patch)
treeea43b70db203c563bc997cbefce622a22a0a7692 /lib/python/Screens
parentf9c484582e3e7f5326666d5f050498849a2d221b (diff)
downloadenigma2-83f4ccb619caa33b0a676fe72bdd997efed6959a.tar.gz
enigma2-83f4ccb619caa33b0a676fe72bdd997efed6959a.zip
comment that this is a fall-trough
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/ChannelSelection.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 7cdc0273..3cd5968b 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -187,13 +187,16 @@ class ChannelSelectionEdit:
def __init__(self, csel, contexts = [ ], actions = { }, prio=0):
ActionMap.__init__(self, contexts, actions, prio)
self.csel = csel
+
def action(self, contexts, action):
if action == "cancel":
self.csel.handleEditCancel()
+ return 0 # fall-trough
elif action == "ok":
- pass # avoid typo warning...
+ return 0 # fall-trough
else:
- ActionMap.action(self, contexts, action)
+ return ActionMap.action(self, contexts, action)
+
self["ChannelSelectEditActions"] = ChannelSelectionEditActionMap(self, ["ChannelSelectEditActions", "OkCancelActions"],
{
"contextMenu": self.doContext,