瀏覽代碼

fixed typo

Greg Wiatroski 21 年之前
父節點
當前提交
fbbec24110
共有 1 個文件被更改,包括 2 次插入2 次删除
  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)