Made a fix to GormFilesOwner to correct a bug reported by Scott Cristely

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@16383 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-04-07 04:00:30 +00:00
parent 409b0f6cf2
commit 4ed098146a
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2003-03-06 Gregory Casamento <greg_casamento@yahoo.com>
* GormFilesOwner.m: Corrected minor problem with updating
class names for the file's owner inspector. It was not updating
the list when reselecting the same object, so new classes were not
being displayed.
2003-03-05 Adam Fedor <fedor@gnu.org>
* Version: 0.2.6

View file

@ -141,6 +141,7 @@
- (void) setObject: (id)anObject
{
ASSIGN(classes, [[NSApp classManager] allClassNames]);
if (anObject != nil && anObject != object)
{
NSArray *array;
@ -161,7 +162,6 @@
if ([array count] > 0)
hasConnections = YES;
ASSIGN(classes, [[NSApp classManager] allClassNames]);
[browser loadColumnZero];
pos = [classes indexOfObject: [object className]];
if (pos != NSNotFound)