fix text for buttons
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 1 May 2006 21:10:41 +0000 (21:10 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 1 May 2006 21:10:41 +0000 (21:10 +0000)
lib/python/Components/Button.py

index 2839a03..f1acb99 100644 (file)
@@ -29,4 +29,5 @@ class Button(VariableText, HTMLComponent, GUIComponent):
        GUI_WIDGET = eButton
 
        def postWidgetCreate(self, instance):
+               instance.setText(self.text)
                instance.selected.get().append(self.push)