aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens
diff options
context:
space:
mode:
authorthedoc <thedoc@atom.(none)>2010-01-01 14:43:26 +0100
committerthedoc <thedoc@atom.(none)>2010-01-01 15:29:13 +0100
commit4fc0831f4a2cd3fc3782f8b946d0bf9274441602 (patch)
tree23d3011e22549670770c822efe2ec782b47b5724 /lib/python/Screens
parent37d2bc32217dfcabeee9c952e901e2fa6d3809a4 (diff)
downloadenigma2-4fc0831f4a2cd3fc3782f8b946d0bf9274441602.tar.gz
enigma2-4fc0831f4a2cd3fc3782f8b946d0bf9274441602.zip
fixes bug #369
close ChannelSelection after PiP is activated
Diffstat (limited to 'lib/python/Screens')
-rw-r--r--lib/python/Screens/ChannelSelection.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index e8bbce15..36a54e77 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -208,7 +208,7 @@ class ChannelContextMenu(Screen):
if self.session.pip.playService(newservice):
self.session.pipshown = True
self.session.pip.servicePath = self.csel.getCurrentServicePath()
- self.close()
+ self.close(True)
else:
self.session.pipshown = False
del self.session.pip
@@ -672,7 +672,11 @@ class ChannelSelectionEdit:
self.entry_marked = True
def doContext(self):
- self.session.open(ChannelContextMenu, self)
+ self.session.openWithCallback(self.exitContext, ChannelContextMenu, self)
+
+ def exitContext(self, close = False):
+ if close:
+ self.cancel()
MODE_TV = 0
MODE_RADIO = 1