fix typo
[enigma2.git] / lib / python / Screens / Scart.py
index e8b7a4a725da1566f2ec9c2506157081a1f192f8..3bb2ca9cea7234ebdb3af4e9d6cc3734c66c5d67 100644 (file)
@@ -17,7 +17,7 @@ class Scart(Screen):
                                
        def showMessageBox(self):
                # only open messagebox on first execBegin
                                
        def showMessageBox(self):
                # only open messagebox on first execBegin
-               self.onShown.remove(self.showMessageBox)
+               self.onExecBegin.remove(self.showMessageBox)
                self.session.openWithCallback(self.switchToTV, MessageBox, _("If you see this, something is wrong with\nyour scart connection. Press OK to return."), MessageBox.TYPE_ERROR)
                
        def switchToTV(self, *val):
                self.session.openWithCallback(self.switchToTV, MessageBox, _("If you see this, something is wrong with\nyour scart connection. Press OK to return."), MessageBox.TYPE_ERROR)
                
        def switchToTV(self, *val):