aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-22 19:37:53 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-22 19:37:53 +0000
commita0a39dc42399f1993c2d6840e6df1aad3ed10afb (patch)
tree5208464ee91964f5cb7ff59d3be33363b9a550d7 /lib/python
parent6c9c38fad67675a3ddb4063e5c706eddd444f21f (diff)
downloadenigma2-a0a39dc42399f1993c2d6840e6df1aad3ed10afb.tar.gz
enigma2-a0a39dc42399f1993c2d6840e6df1aad3ed10afb.zip
close screen when session is closed
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Ci.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Screens/Ci.py b/lib/python/Screens/Ci.py
index bf137f40..3f5b7315 100644
--- a/lib/python/Screens/Ci.py
+++ b/lib/python/Screens/Ci.py
@@ -110,6 +110,10 @@ class CiMmi(Screen):
#module still there ?
if eDVBCI_UI.getInstance().getState(self.slotid) != 2:
self.closeMmi()
+
+ #mmi session still active ?
+ if eDVBCI_UI.getInstance().getMMIState(self.slotid) != 1:
+ self.closeMmi()
#new screen available?
if eDVBCI_UI.getInstance().availableMMI(self.slotid) == 1: