mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Deactivate editors so that we can get a clear object hierarchy to export
This commit is contained in:
parent
1ef3691165
commit
97e12a87aa
1 changed files with 2 additions and 0 deletions
|
@ -3410,11 +3410,13 @@ static void _real_close(GormDocument *self,
|
|||
NSEnumerator *en = [topLevelObjects objectEnumerator];
|
||||
id o = nil;
|
||||
|
||||
[self deactivateEditors];
|
||||
while ((o = [en nextObject]) != nil)
|
||||
{
|
||||
[self _collectObjectsFromObject: o
|
||||
withNode: parentNode];
|
||||
}
|
||||
[self reactivateEditors];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue