mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
* Source/NSTextView.m (-setTypingAttributes:) Guard against
nil layout manager git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32952 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
63b253d53f
commit
e4458742a1
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-29 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSTextView.m (-setTypingAttributes:) Guard against
|
||||
nil layout manager
|
||||
|
||||
2011-04-28 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSPopUpButtonCell.m: Override -representedObject and
|
||||
|
|
|
@ -3231,6 +3231,9 @@ This method is for user changes; see NSTextView_actions.m.
|
|||
NSForegroundColorAttributeName};
|
||||
int i;
|
||||
|
||||
if (_layoutManager == nil)
|
||||
return;
|
||||
|
||||
if (attrs == nil)
|
||||
{
|
||||
attrs = [[self class] defaultTypingAttributes];
|
||||
|
|
Loading…
Reference in a new issue