dont use onShown .. use onLayoutFinish for hide dish icon
[enigma2.git] / lib / python / Screens / InfoBarGenerics.py
index 1824eb5db6c91f52f8cece39fce23fbf4566d32e..1a8f88bba55d974a1dcd5b4ad8e47e3c4b480aa5 100644 (file)
@@ -41,7 +41,7 @@ from Menu import MainMenu, mdom
 class InfoBarDish:
        def __init__(self):
                self.dishDialog = self.session.instantiateDialog(Dish)
-               self.onShown.append(self.dishDialog.show)
+               self.onLayoutFinish.append(self.dishDialog.show)
 
 class InfoBarShowHide:
        """ InfoBar show/hide control, accepts toggleShow and hide actions, might start