aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources/List.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Sources/List.py')
-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)