Allow more types of help

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27322 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-12-17 09:47:48 +00:00
parent f3d2771081
commit d616702b69

View file

@ -248,7 +248,8 @@ cleanup(NSMutableDictionary *m, NSString *k)
- (void)setHelpFile: (id)sender
{
int result;
NSArray *fileTypes = [NSArray arrayWithObject: @"rtfd"];
NSArray *fileTypes = [NSArray arrayWithObjects:
@"rtfd", @"rtf", @"txt", nil];
NSOpenPanel *openPanel = [NSOpenPanel openPanel];
NSString *dir = nil;