Fix problems where the string value of a text field control might not

be updated while its cell is edited and where the save panel's text
form ignores the file name passed to -runModalForDirectory:file:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27059 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2008-11-14 23:12:33 +00:00
parent d71b76e768
commit db8e30700b
4 changed files with 29 additions and 1 deletions

View file

@ -634,6 +634,11 @@ static NSNotificationCenter *nc;
*/
if ([self currentEditor] != nil)
{
/* Make sure the cell's control view is always set up.
* FIXME Need to draw the cell's border which is not covered by
* the field editor if the cell is bordered.
*/
[_cell setControlView: self];
return;
}
@ -671,7 +676,7 @@ static NSNotificationCenter *nc;
{
if (_cell == aCell)
{
[_cell setState: 1];
[_cell setState: NSOnState];
[self setNeedsDisplay: YES];
}
}