mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:10:48 +00:00
Updated calls to setStringValue: to use @"" rather than nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e5737f3f76
commit
cbe216e58e
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
[_form abortEditing];
|
[_form abortEditing];
|
||||||
[[_form cellAtIndex: 0] setStringValue:nil];
|
[[_form cellAtIndex: 0] setStringValue:@""];
|
||||||
// [_form selectTextAtIndex:0];
|
// [_form selectTextAtIndex:0];
|
||||||
[_form setNeedsDisplay:YES];
|
[_form setNeedsDisplay:YES];
|
||||||
[_okButton setEnabled:YES];
|
[_okButton setEnabled:YES];
|
||||||
|
|
|
@ -863,7 +863,7 @@ static BOOL _gs_display_reading_progress = NO;
|
||||||
case NSLeftArrowFunctionKey:
|
case NSLeftArrowFunctionKey:
|
||||||
case NSRightArrowFunctionKey:
|
case NSRightArrowFunctionKey:
|
||||||
[_form abortEditing];
|
[_form abortEditing];
|
||||||
[[_form cellAtIndex:0] setStringValue:nil];
|
[[_form cellAtIndex:0] setStringValue: @""];
|
||||||
[_browser keyDown:theEvent];
|
[_browser keyDown:theEvent];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue