diff --git a/GormCore/GormDocument.m b/GormCore/GormDocument.m index 8a219604..42e6c533 100644 --- a/GormCore/GormDocument.m +++ b/GormCore/GormDocument.m @@ -3388,7 +3388,7 @@ static void _real_close(GormDocument *self, else if ([obj isKindOfClass: [NSWindow class]]) { [self _collectObjectsFromObject: [obj contentView] - withNode: node]; + withNode: group]; } else if ([obj isKindOfClass: [NSView class]]) { @@ -3399,7 +3399,7 @@ static void _real_close(GormDocument *self, while ((v = [en nextObject]) != nil) { [self _collectObjectsFromObject: v - withNode: node]; + withNode: group]; } } }