X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3..fb284fcd5704b0f710ece9d0e6064d53ad4aa35e:/lib/python/Components/Button.py diff --git a/lib/python/Components/Button.py b/lib/python/Components/Button.py index 2839a034..25346b42 100644 --- a/lib/python/Components/Button.py +++ b/lib/python/Components/Button.py @@ -1,6 +1,6 @@ -from HTMLComponent import * -from GUIComponent import * -from VariableText import * +from HTMLComponent import HTMLComponent +from GUIComponent import GUIComponent +from VariableText import VariableText from enigma import eButton @@ -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)