mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +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
8f802c0d1c
commit
ae31bc8fce
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
|
|||
else
|
||||
{
|
||||
[_form abortEditing];
|
||||
[[_form cellAtIndex: 0] setStringValue:nil];
|
||||
[[_form cellAtIndex: 0] setStringValue:@""];
|
||||
// [_form selectTextAtIndex:0];
|
||||
[_form setNeedsDisplay:YES];
|
||||
[_okButton setEnabled:YES];
|
||||
|
|
|
@ -863,7 +863,7 @@ static BOOL _gs_display_reading_progress = NO;
|
|||
case NSLeftArrowFunctionKey:
|
||||
case NSRightArrowFunctionKey:
|
||||
[_form abortEditing];
|
||||
[[_form cellAtIndex:0] setStringValue:nil];
|
||||
[[_form cellAtIndex:0] setStringValue: @""];
|
||||
[_browser keyDown:theEvent];
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue