diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-30 00:22:47 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-30 00:22:47 +0000 |
| commit | f659c01233fdb3bf8b7e6b3f2d5d58bfed019b6e (patch) | |
| tree | 1e13f886fa6cfc687ac5f45065602ef3d3d72c8f /lib/python | |
| parent | e75a3982be89898b54bf2b6bf91d36170d4c4409 (diff) | |
| download | enigma2-f659c01233fdb3bf8b7e6b3f2d5d58bfed019b6e.tar.gz enigma2-f659c01233fdb3bf8b7e6b3f2d5d58bfed019b6e.zip | |
fix SimpleChannelSelection
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/ChannelSelection.py | 6 |
1 files 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, |
