Directories can be chosen in case of interfaces

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@16692 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Philippe C.D. Robert 2003-05-11 12:43:44 +00:00
parent 2f1ebef4a4
commit e6b4cf1013

View file

@ -131,9 +131,9 @@ static PCFileManager *_mgr = nil;
openPanel = [NSOpenPanel openPanel];
[openPanel setAllowsMultipleSelection:YES];
[openPanel setCanChooseDirectories:NO];
[openPanel setCanChooseFiles:YES];
[openPanel setTitle:title];
[openPanel setCanChooseDirectories:[key isEqualToString: @"Interfaces"]];
retval = [openPanel
runModalForDirectory:[ud objectForKey:@"LastOpenDirectory"]