bindingprofile: lcdColor is a property, fix it

This commit is contained in:
June Tate-Gans 2021-05-04 01:43:00 -05:00
parent 17350fa524
commit f5e881f0fa

View File

@ -44,7 +44,8 @@ class BindingProfile(Subject):
self.setProperty('lcdColor', (red, green, blue), notify=False) self.setProperty('lcdColor', (red, green, blue), notify=False)
@lcdColor.setter @lcdColor.setter
def lcdColor(self, red, green, blue): def lcdColor(self, rgb):
(red, green, blue) = rgb
self._setLCDColor(red, green, blue) self._setLCDColor(red, green, blue)
self.notifyChanged() self.notifyChanged()