Corrected another exception.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@14949 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2002-11-07 02:49:25 +00:00
parent 3014c74dfd
commit 81141753de
2 changed files with 13 additions and 2 deletions

View file

@ -1,9 +1,14 @@
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: -[GormDocument remove] added if the simply return
* GormDocument.m: -[GormDocument createClassesFiles:] added if the simply return
when no row is selected. This was causing an exception.
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: -[GormDocument remove:] added if the simply return
when no row is selected. This was causing an exception.
2002-11-05 Gregory John Casamento <greg_casamento@yahoo.com>
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
* GormSoundEditor.m: Added missing file.

View file

@ -938,6 +938,12 @@ static NSImage *classesImage = nil;
id classes = [classManager allClassNames];
int result;
// if no selection, just return.
if(row == -1)
{
return self;
}
sp = [NSSavePanel savePanel];
[sp setRequiredFileType: @"m"];
[sp setTitle: @"Save source file as..."];