Browse Source

fixed typo

Greg Wiatroski 21 years ago
parent
commit
fbbec24110
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/gui/DirectScrolledList.py

+ 2 - 2
direct/src/gui/DirectScrolledList.py

@@ -20,7 +20,7 @@ class DirectScrolledListItem(DirectButton):
             self.nextCommand = kw.get("command")
             del kw["command"]
         if kw.has_key("extraArgs"):
-            self.nextCommnadExtraArgs = kw.get("extraArgs")
+            self.nextCommandExtraArgs = kw.get("extraArgs")
             del kw["extraArgs"]
         optiondefs = (
             ('parent', self.parent,    None),
@@ -33,7 +33,7 @@ class DirectScrolledListItem(DirectButton):
 
     def select(self):
         assert self.notify.debugStateCall(self)
-        apply(self.nextCommand, self.nextCommnadExtraArgs)
+        apply(self.nextCommand, self.nextCommandExtraArgs)
         self.parent.selectListItem(self)