mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
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:
parent
581db167d0
commit
2feadabe19
2 changed files with 8 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue