From: Felix Domke Date: Tue, 7 Mar 2006 00:37:08 +0000 (+0000) Subject: comment that this is a fall-trough X-Git-Tag: 2.6.0~3847 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/83f4ccb619caa33b0a676fe72bdd997efed6959a?ds=sidebyside comment that this is a fall-trough --- 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,