Blank inspector on class name change.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20438 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-12-11 05:24:12 +00:00
parent af64103540
commit e5565e59aa
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2004-12-11 00:21 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: in handleNotification: changed the condition
for IBClassNameChangedNotification so that the inspector is
cleared when the class name is modified. This prevents the
inspector from accidently being used to modify a class which
no longer exists.
2004-12-10 23:57 Gregory John Casamento <greg_casamento@yahoo.com>
* Resources/GormClassInspector.gorm: Added proper resizing

View file

@ -1464,6 +1464,7 @@ static NSImage *fileImage = nil;
else if ([name isEqual: IBClassNameChangedNotification] == YES)
{
[classesView reloadData];
[self setSelectionFromEditor: nil];
[self touch];
}
else if ([name isEqual: IBInspectorDidModifyObjectNotification] == YES)