mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
bindingprofile: lcdColor is a property, fix it
This commit is contained in:
parent
17350fa524
commit
f5e881f0fa
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user