mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 14:30:48 +00:00
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:
parent
3014c74dfd
commit
81141753de
2 changed files with 13 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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..."];
|
||||
|
|
Loading…
Reference in a new issue