git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cosmetic fixes/workarounds
[enigma2.git]
/
lib
/
python
/
Components
/
VariableText.py
diff --git
a/lib/python/Components/VariableText.py
b/lib/python/Components/VariableText.py
index d20e51938555c94b5cc972adfada3bb3fb71b413..c95330915c3af65b206df9f60308c65e436b1b4c 100644
(file)
--- 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:
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:
def setMarkedPos(self, pos):
if self.instance:
@@
-21,4
+21,4
@@
class VariableText(object):
text = property(getText, setText)
def postWidgetCreate(self, instance):
text = property(getText, setText)
def postWidgetCreate(self, instance):
- instance.setText(self.message)
+ instance.setText(self.message
or ""
)