Issue 1388

This commit is contained in:
Thomas Nagy 2013-12-20 18:16:41 +01:00
parent c24471e4c0
commit d1eef8b272
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class PBXGroup(XCodeNode):
def add(self, root, sources):
folders = {}
def folder(n):
if n == root:
if not n.is_child_of(root):
return self
try:
return folders[n]