Minor update to previous change.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18584 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-02-12 07:04:07 +00:00
parent 0ae91416b0
commit 8de897c0db

View file

@ -373,9 +373,16 @@ objectValueForTableColumn: (NSTableColumn *)tc
NSArray *list = [classManager allClassNames]; NSArray *list = [classManager allClassNames];
int row = [parentClass selectedRow]; int row = [parentClass selectedRow];
NSString *newParent = [list objectAtIndex: row]; NSString *newParent = [list objectAtIndex: row];
BOOL removed = NO;
[classManager setSuperClassNamed: newParent forClassNamed: [self _currentClass]]; [classManager setSuperClassNamed: newParent forClassNamed: [self _currentClass]];
[nc postNotificationName: IBInspectorDidModifyObjectNotification removed = [(GormDocument *)[(id <IB>)NSApp activeDocument]
object: classManager]; removeConnectionsForClassNamed: [self _currentClass]];
if(removed)
{
[nc postNotificationName: IBInspectorDidModifyObjectNotification
object: classManager];
}
} }
- (void) clickOnClass: (id)sender - (void) clickOnClass: (id)sender