Fixed a bug of not updating geom_color but updating image_color
This commit is contained in:
parent
8537bd7320
commit
815f9c87fe
|
|
@ -216,4 +216,4 @@ class DirectRadioButton(DirectButton):
|
|||
def setIndicatorValue(self):
|
||||
self.component('indicator').guiItem.setState(self['indicatorValue'])
|
||||
if self.colors != None:
|
||||
self.component('indicator')['image_color'] = self.colors[self['indicatorValue']]
|
||||
self.component('indicator')['geom_color'] = self.colors[self['indicatorValue']]
|
||||
|
|
|
|||
Loading…
Reference in New Issue