Fixed a bug of not updating geom_color but updating image_color

This commit is contained in:
Gyedo Jeon 2008-07-31 05:22:49 +00:00
parent 8537bd7320
commit 815f9c87fe
1 changed files with 1 additions and 1 deletions

View File

@ -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']]