From 33d862d42bf6e62489cc7d4b2143bf864a937988 Mon Sep 17 00:00:00 2001 From: Gyedo Jeon Date: Thu, 8 Jan 2009 21:45:14 +0000 Subject: [PATCH] Made indicatorValue not passed to command --- 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 63d0a5d034..c96ba13dbb 100755 --- a/direct/src/gui/DirectRadioButton.py +++ b/direct/src/gui/DirectRadioButton.py @@ -203,7 +203,7 @@ class DirectRadioButton(DirectButton): if self['command']: # Pass any extra args to command - apply(self['command'], [self['indicatorValue']] + self['extraArgs']) + apply(self['command'], self['extraArgs']) def setOthers(self, others): self['others'] = others