mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 10:50:37 +00:00
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:
parent
ff61d4c642
commit
1d2c5d5ebd
10 changed files with 84 additions and 25 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue