From 815f9c87fee4457a89fc2d9ce276b30b7de631b9 Mon Sep 17 00:00:00 2001 From: Gyedo Jeon Date: Thu, 31 Jul 2008 05:22:49 +0000 Subject: [PATCH] Fixed a bug of not updating geom_color but updating image_color --- direct/src/gui/DirectRadioButton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/gui/DirectRadioButton.py b/direct/src/gui/DirectRadioButton.py index 91e7b8f381..63d0a5d034 100755 --- a/direct/src/gui/DirectRadioButton.py +++ b/direct/src/gui/DirectRadioButton.py @@ -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']]