mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
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:
parent
7d1020708d
commit
a87abe7ff1
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue