aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-02-11 23:12:47 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-03-31 11:04:14 +0200
commit6249914820d4028175d86237fdac9b155d1834fa (patch)
tree7f9f0352906dc080d70aac35a8d4270ef39543f9 /lib/python/Components/Sources
parentba3ca7624c0b05d5340ad5c08995a345a51384df (diff)
downloadenigma2-6249914820d4028175d86237fdac9b155d1834fa.tar.gz
enigma2-6249914820d4028175d86237fdac9b155d1834fa.zip
add possibility to disable/enable listbox selection in multicontent templates
fixes bug #443
Diffstat (limited to 'lib/python/Components/Sources')
-rw-r--r--lib/python/Components/Sources/List.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py
index 1eab32b2..6f0670a1 100644
--- a/lib/python/Components/Sources/List.py
+++ b/lib/python/Components/Sources/List.py
@@ -91,8 +91,9 @@ to generate HTML."""
return self.__style
def setStyle(self, style):
- self.__style = style
- self.changed((self.CHANGED_SPECIFIC, "style"))
+ if self.__style != style:
+ self.__style = style
+ self.changed((self.CHANGED_SPECIFIC, "style"))
style = property(getStyle, setStyle)