From 3afba0617ec797d6b2654f8c9722866776ad0ff6 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Tue, 28 Jan 2025 17:21:56 -0500 Subject: Fixes #6370: HighlightColor.__init__ attempts to set a property with no setter --- python/highlight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/highlight.py b/python/highlight.py index 1f9397a4..5d44f6c3 100644 --- a/python/highlight.py +++ b/python/highlight.py @@ -43,7 +43,7 @@ class HighlightColor: self.green = green self.blue = blue elif (mix_color is not None) and (mix is not None): - self.style = HighlightColorStyle.MixedHighlightColor + self._style = HighlightColorStyle.MixedHighlightColor if color is None: self.color = HighlightStandardColor.NoHighlightColor else: -- cgit v1.3.1