mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
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:
parent
82656d0255
commit
2e0ea9045b
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
- (void) removeLayoutManager: (NSLayoutManager*)obj
|
||||
{
|
||||
[obj setTextStorage: nil];
|
||||
[_layoutManagers removeObjectIdenticalTo: obj];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue