Corrected another small problem w/ custom class support.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15593 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-01-14 06:50:45 +00:00
parent 6a4fdb042f
commit a939756a02
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-01-14 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: replaceTemplatesWithObjects: when
restoring the editing object the template was not
being destroyed properly. This is now fixed.
2003-01-14 Gregory John Casamento <greg_casamento@yahoo.com> 2003-01-14 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: replaceObjectsWithTemplates: added a * GormDocument.m: replaceObjectsWithTemplates: added a

View file

@ -1270,6 +1270,7 @@ static NSImage *classesImage = nil;
[[template superview] replaceSubview: template with: obj]; [[template superview] replaceSubview: template with: obj];
} }
[nameTable setObject: obj forKey: key]; [nameTable setObject: obj forKey: key];
RELEASE(template); // get rid of the template...
} }
[tempNameTable removeAllObjects]; [tempNameTable removeAllObjects];
} }