diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-11-24 14:06:40 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-11-24 14:06:40 +0000 |
| commit | 557b9ef9e84f546721e0c643165866853f2bed7c (patch) | |
| tree | 3795caea78b82509cea6e293395e4157f317ae78 /lib/python/Components/VariableText.py | |
| parent | 383c9761ac7d46d178bd4344beec854428596893 (diff) | |
| download | enigma2-557b9ef9e84f546721e0c643165866853f2bed7c.tar.gz enigma2-557b9ef9e84f546721e0c643165866853f2bed7c.zip | |
'None' as self.message is ok, will be treated as empty string
Diffstat (limited to 'lib/python/Components/VariableText.py')
| -rw-r--r-- | lib/python/Components/VariableText.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/VariableText.py b/lib/python/Components/VariableText.py index d20e5193..c9533091 100644 --- a/lib/python/Components/VariableText.py +++ b/lib/python/Components/VariableText.py @@ -9,7 +9,7 @@ class VariableText(object): def setText(self, text): self.message = text if self.instance: - self.instance.setText(self.message) + self.instance.setText(self.message or "") def setMarkedPos(self, pos): if self.instance: @@ -21,4 +21,4 @@ class VariableText(object): text = property(getText, setText) def postWidgetCreate(self, instance): - instance.setText(self.message) + instance.setText(self.message or "") |
