Set the layout manager's text storage to nil when we remove it, since we

are the ones setting it to non-nil when we add it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14673 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-10-08 17:58:09 +00:00
parent 82656d0255
commit 2e0ea9045b

View file

@ -100,6 +100,7 @@ static NSNotificationCenter *nc = nil;
- (void) removeLayoutManager: (NSLayoutManager*)obj
{
[obj setTextStorage: nil];
[_layoutManagers removeObjectIdenticalTo: obj];
}