First set of changes based on pathces by Josh Freeman

<pikopixel@twilightedge.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39004 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2015-09-19 16:45:36 +00:00
parent ff61d4c642
commit 1d2c5d5ebd
10 changed files with 84 additions and 25 deletions

View file

@ -268,6 +268,26 @@ static Class controlClass;
}
}
- (void) setAttributedStringValue: (NSAttributedString*)attribStr
{
[super setAttributedStringValue: attribStr];
if (_control_view)
{
if ([_control_view isKindOfClass: controlClass])
{
if (_cell.in_editing)
{
[self _updateFieldEditor:
[(NSControl *)_control_view currentEditor]];
}
else
{
[(NSControl *)_control_view updateCell: self];
}
}
}
}
/*
* Target and Action
*/