mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Correction for reparenting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a87abe7ff1
commit
ec792b978b
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-12-11 18:03 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassManager.m: Correction for reparenting of a class in
|
||||
-setSuperClassNamed:forClassNamed:
|
||||
|
||||
2004-12-11 10:22 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassInspector.m: Changed _refreshView to gray out the
|
||||
|
|
|
@ -1429,7 +1429,18 @@
|
|||
info = [classInformation objectForKey: subclass];
|
||||
if (info != nil)
|
||||
{
|
||||
// remove actions/outlets inherited from superclasses...
|
||||
[info removeObjectForKey: @"AllActions"];
|
||||
[info removeObjectForKey: @"AllOutlets"];
|
||||
|
||||
// change the parent of the class...
|
||||
[info setObject: superclass forKey: @"Super"];
|
||||
|
||||
// recalculate the actions/outlets...
|
||||
[self allActionsForClassNamed: subclass];
|
||||
[self allOutletsForClassNamed: subclass];
|
||||
|
||||
// return success.
|
||||
return YES;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue