From f659c01233fdb3bf8b7e6b3f2d5d58bfed019b6e Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 30 Nov 2005 00:22:47 +0000 Subject: [PATCH] fix SimpleChannelSelection --- lib/python/Screens/ChannelSelection.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 332a72b2..acf2e7ff 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -400,10 +400,12 @@ class SimpleChannelSelection(ChannelSelectionBase): self.title = title self.onShown.append(self.onExecCallback) - class ChannelActionMap(ActionMap): + class ChannelActionMap(NumberActionMap): def action(self, contexts, action): if not self.csel.enterBouquet(action): - ActionMap.action(self, contexts, action) + if action == "cancel": + self.csel.handleEditCancel() + NumberActionMap.action(self, contexts, action) self["actions"] = ChannelActionMap(["ChannelSelectActions", "OkCancelActions", "ContextMenuActions"], { "cancel": self.cancel, -- 2.30.2