diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-02-11 23:12:47 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-02-11 23:12:47 +0100 |
| commit | 7c2f35aa189b8e3d4d5e3fece3362d71ee160762 (patch) | |
| tree | 7176d94d523022d49cc9d4c20562258495dd6719 /lib/python/Components/Sources/List.py | |
| parent | 893e7e32f23e12aec86c1aa5d2adf41095ce92f5 (diff) | |
| download | enigma2-7c2f35aa189b8e3d4d5e3fece3362d71ee160762.tar.gz enigma2-7c2f35aa189b8e3d4d5e3fece3362d71ee160762.zip | |
add possibility to disable/enable listbox selection in multicontent templates
fixes bug #443
Diffstat (limited to 'lib/python/Components/Sources/List.py')
| -rw-r--r-- | lib/python/Components/Sources/List.py | 5 |
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) |
