Fixed bug in TreeNode.find()

This commit is contained in:
Gyedo Jeon 2007-08-03 21:14:50 +00:00
parent 23f5ce5dec
commit 63de89a6c8

View File

@ -437,7 +437,7 @@ class TreeNode:
if self.childrenTag:
showThisItem = False
for tagKey in self.childrenTag.keys():
if item.nodePath.hasTag(tagKey):
if self.item.nodePath.hasTag(tagKey):
showThisItem = self.childrenTag[tagKey]
if not showThisItem:
return None