First responder change.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20440 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-12-11 15:25:54 +00:00
parent 7d1020708d
commit a87abe7ff1
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-12-11 10:22 Gregory John Casamento <greg_casamento@yahoo.com>
* GormClassInspector.m: Changed _refreshView to gray out the
class field when the FirstResponder is selected since it's name
isn't editable.
2004-12-11 00:51 Gregory John Casamento <greg_casamento@yahoo.com>
* GormClassInspector.m: Added code in setObject: to show the

View file

@ -330,7 +330,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
[parentClass setEnabled: (isEditable && !isFirstResponder)];
[searchCell setEnabled: (isEditable && !isFirstResponder)];
[classField setEditable: (isEditable && !isFirstResponder)];
[classField setBackgroundColor: (isEditable?[NSColor whiteColor]:[NSColor lightGrayColor])];
[classField setBackgroundColor: ((isEditable && !isFirstResponder)?[NSColor whiteColor]:[NSColor lightGrayColor])];
// select the parent class
if(index != NSNotFound)