mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:10:47 +00:00
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:
parent
6f598b7562
commit
113f2bedf0
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
Sun Nov 28 04:44:43 1999 Nicola Pero <n.pero@mi.flashnet.it>
|
||||||
|
|
||||||
First implementation of editing in NSForm, NSMatrix.
|
First implementation of editing in NSForm, NSMatrix.
|
||||||
|
|
|
@ -182,6 +182,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
|
||||||
NSMutableArray *ret = [NSMutableArray array];
|
NSMutableArray *ret = [NSMutableArray array];
|
||||||
NSString *dir = [self directory];
|
NSString *dir = [self directory];
|
||||||
|
|
||||||
|
dir = [dir stringByDeletingLastPathComponent];
|
||||||
while ((currCell = [cellEnum nextObject]))
|
while ((currCell = [cellEnum nextObject]))
|
||||||
{
|
{
|
||||||
[ret addObject: [NSString stringWithFormat: @"%@/%@", dir,
|
[ret addObject: [NSString stringWithFormat: @"%@/%@", dir,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue