fix text for buttons
[enigma2.git] / lib / python / Components / Button.py
index 2839a034c449d87bee54d9a37020d2753535825e..f1acb99d8c1ef5aef102a01d5967ec97b1cc7973 100644 (file)
@@ -29,4 +29,5 @@ class Button(VariableText, HTMLComponent, GUIComponent):
        GUI_WIDGET = eButton
 
        def postWidgetCreate(self, instance):
        GUI_WIDGET = eButton
 
        def postWidgetCreate(self, instance):
+               instance.setText(self.text)
                instance.selected.get().append(self.push)
                instance.selected.get().append(self.push)