git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f9c4845
)
comment that this is a fall-trough
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 7 Mar 2006 00:37:08 +0000
(
00:37
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 7 Mar 2006 00:37:08 +0000
(
00:37
+0000)
lib/python/Screens/ChannelSelection.py
patch
|
blob
|
history
diff --git
a/lib/python/Screens/ChannelSelection.py
b/lib/python/Screens/ChannelSelection.py
index 7cdc0273fdc2dedc71af2549577ea8265a240463..3cd5968b45f37076fe3d513cece87a60d609d248 100644
(file)
--- 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 __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()
def action(self, contexts, action):
if action == "cancel":
self.csel.handleEditCancel()
+ return 0 # fall-trough
elif action == "ok":
elif action == "ok":
- pass # avoid typo warning...
+ return 0 # fall-trough
else:
else:
- ActionMap.action(self, contexts, action)
+ return ActionMap.action(self, contexts, action)
+
self["ChannelSelectEditActions"] = ChannelSelectionEditActionMap(self, ["ChannelSelectEditActions", "OkCancelActions"],
{
"contextMenu": self.doContext,
self["ChannelSelectEditActions"] = ChannelSelectionEditActionMap(self, ["ChannelSelectEditActions", "OkCancelActions"],
{
"contextMenu": self.doContext,