Attempt to correct side effect of last NSActionCell change.

Small cleanup in NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29020 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-11-16 11:40:14 +00:00
parent 8bd9424ef9
commit 40a81ac812
3 changed files with 49 additions and 34 deletions

View file

@ -223,7 +223,10 @@ static Class controlClass;
[self _updateFieldEditor:
[(NSControl *)_control_view currentEditor]];
}
[(NSControl *)_control_view updateCell: self];
else
{
[(NSControl *)_control_view updateCell: self];
}
}
}
}
@ -232,7 +235,7 @@ static Class controlClass;
* Set the value of the receiver from aString.
*/
// This method is currently needed, as NSCells implementation
// does not call setObjectValue:
// sometimes does not call setObjectValue:
- (void) setStringValue: (NSString*)aString
{
[super setStringValue: aString];
@ -245,7 +248,10 @@ static Class controlClass;
[self _updateFieldEditor:
[(NSControl *)_control_view currentEditor]];
}
[(NSControl *)_control_view updateCell: self];
else
{
[(NSControl *)_control_view updateCell: self];
}
}
}
}