Kaynağa Gözat

Made indicatorValue not passed to command

Gyedo Jeon 17 yıl önce
ebeveyn
işleme
33d862d42b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      direct/src/gui/DirectRadioButton.py

+ 1 - 1
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