* GormObjectEditor.m ([GormObjectEditor +setEditor:forDocument:]):

replaced self with editor. There was an exception when instancing
  any class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Pierre-Yves Rivaille 2002-11-19 08:30:43 +00:00
parent f5b51ade01
commit 00ecc4eefd
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2002-11-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* GormObjectEditor.m ([GormObjectEditor +setEditor:forDocument:]):
replaced self with editor. There was an exception when instancing
any class.
2002-11-19 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Added key equivalents for operations in the Classes

View file

@ -99,7 +99,7 @@ static NSMapTable *docMap = 0;
+ (void) setEditor: (id)editor
forDocument: (id<IBDocuments>)aDocument
{
NSMapInsert(docMap, (void*)aDocument, (void*)self);
NSMapInsert(docMap, (void*)aDocument, (void*)editor);
}