mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Correct placement of subordinate objects, recursive method was passing the wrong element into itself when encoding windows and views
This commit is contained in:
parent
eadd4e2ab2
commit
b35158794f
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue