Corrected issue with class inspector.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19907 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-08-24 02:17:25 +00:00
parent 57c523f577
commit 773495b9d7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-08-23 22:28 Gregory John Casamento <greg_casamento@yahoo.com>
* GormClassInspector.m: Corrected bug introduced a few
days ago. The actions tag in the class inspector wasn't
functioning correctly.
2004-08-23 15:06 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormNSPanel.[hm]:

View file

@ -161,7 +161,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
{
id classManager = [(Gorm *)NSApp classManager];
NSString *currentClass = [inspector _currentClass];
NSArray *list = [classManager allOutletsForClassNamed: currentClass];
NSArray *list = [classManager allActionsForClassNamed: currentClass];
NSString *name = [list objectAtIndex: rowIndex];
NSString *formattedAction = [GormDocument formatAction: anObject];
GormDocument *document = (GormDocument *)[(id <IB>)NSApp activeDocument];