mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Corrected problem selecting NSObject.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21464 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9b1d69cbc7
commit
37914f9227
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-13 09:01 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormClassEditor.m: Corrected problem selecting NSObject
|
||||
in browser when it's selected in the outline.
|
||||
|
||||
2005-07-13 02:17 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormClassEditor.m: Changed code in selectClass:editClass:
|
||||
|
|
|
@ -292,7 +292,8 @@ NSString *GormSwitchViewPreferencesNotification = @"GormSwitchViewPreferencesNot
|
|||
|
||||
// select class in browser...
|
||||
subClassesArray = [classManager allSuperClassesOf: className];
|
||||
if ((subClassesArray == nil) || ([subClassesArray count] == 0))
|
||||
if ((subClassesArray == nil || [subClassesArray count] == 0) &&
|
||||
[classManager isRootClass: className] == NO)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue