diff --git a/direct/src/gui/DirectScrolledList.py b/direct/src/gui/DirectScrolledList.py index 88e0f604dd..2cdeec35be 100644 --- a/direct/src/gui/DirectScrolledList.py +++ b/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)