mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 07:01:22 +00:00
Use setNeedsDisplay: now that Richard (thanks richard :-) made it work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7616ba78dd
commit
fcb9c37b09
1 changed files with 2 additions and 4 deletions
|
@ -815,16 +815,14 @@ selectCellWithString: (NSString *)title
|
||||||
ASSIGN (_directory, path);
|
ASSIGN (_directory, path);
|
||||||
ASSIGN (_fullFileName, [path stringByAppendingPathComponent: title]);
|
ASSIGN (_fullFileName, [path stringByAppendingPathComponent: title]);
|
||||||
[[_form cellAtIndex: 0] setStringValue: title];
|
[[_form cellAtIndex: 0] setStringValue: title];
|
||||||
// [_form setNeedsDisplay: YES];
|
[_form setNeedsDisplay: YES];
|
||||||
[_form display];
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ASSIGN (_directory, [path stringByAppendingPathComponent: title]);
|
ASSIGN (_directory, [path stringByAppendingPathComponent: title]);
|
||||||
ASSIGN (_fullFileName, nil);
|
ASSIGN (_fullFileName, nil);
|
||||||
[[_form cellAtIndex: 0] setStringValue: @""];
|
[[_form cellAtIndex: 0] setStringValue: @""];
|
||||||
// [_form setNeedsDisplay: YES];
|
[_form setNeedsDisplay: YES];
|
||||||
[_form display];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
|
|
Loading…
Reference in a new issue