mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 12:01:16 +00:00
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:
parent
0ae91416b0
commit
8de897c0db
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue