close screen when session is closed
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 22 Nov 2005 19:37:53 +0000 (19:37 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Tue, 22 Nov 2005 19:37:53 +0000 (19:37 +0000)
lib/python/Screens/Ci.py

index bf137f4..3f5b731 100644 (file)
@@ -110,6 +110,10 @@ class CiMmi(Screen):
                #module still there ?                   
                if eDVBCI_UI.getInstance().getState(self.slotid) != 2:
                        self.closeMmi()
                #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:
                        
                #new screen available?  
                if eDVBCI_UI.getInstance().availableMMI(self.slotid) == 1: