Minor open panel fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5318 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-11-28 19:48:47 +00:00
parent 99bbb48fe2
commit ad29495859
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sun Nov 28 19:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSOpenPanel.m: ([-filenames]) fix to handle multiple
selection correctly - was duplicating name of selected item.
Sun Nov 28 04:44:43 1999 Nicola Pero <n.pero@mi.flashnet.it>
First implementation of editing in NSForm, NSMatrix.

View file

@ -182,6 +182,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
NSMutableArray *ret = [NSMutableArray array];
NSString *dir = [self directory];
dir = [dir stringByDeletingLastPathComponent];
while ((currCell = [cellEnum nextObject]))
{
[ret addObject: [NSString stringWithFormat: @"%@/%@", dir,