Minor correction in -saveAsDocument:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20665 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-02-06 15:38:10 +00:00
parent 581db167d0
commit 2feadabe19
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-02-06 10:43 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: in -saveAsDocument: return the value
returned by -saveGormDocument: when it's called.
2005-02-06 02:13 Gregory John Casamento <greg_casamento@yahoo.com>
* Resources/GormViewSizeInspector.gorm: Corrected box title color.

View file

@ -2630,9 +2630,7 @@ static NSImage *fileImage = nil;
// set the path...
ASSIGN(documentPath, path);
[self saveGormDocument: sender];
return YES;
return [self saveGormDocument: sender];
}
return NO;
}
@ -2897,9 +2895,11 @@ static NSImage *fileImage = nil;
}
else
{
// mark the file as not edited.
[window setDocumentEdited: NO];
[window setTitleWithRepresentedFilename: documentPath];
// notify everyone of the save.
[nc postNotificationName: IBDidSaveDocumentNotification
object: self];
}