mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Correction for problem loading gmodels.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20478 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
56ace42056
commit
8ece5d7b6e
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-12-23 06:03 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassInspector.m: Fix for issue when loading from gmodel.
|
||||
Corrected _refreshView: and searchForClass: so that if list is nil,
|
||||
the selection isn't set.
|
||||
* Gorm.spec.in: Minor correction.
|
||||
|
||||
2004-12-19 09:05 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormInspectorsManager.m: Added [super init] call to
|
||||
|
|
|
@ -6,7 +6,7 @@ Source: ftp://ftp.gnustep.org/pub/gnustep/dev-apps/%{gs_name}-%{gs_version}.tar.
|
|||
Requires: gnustep-gui
|
||||
|
||||
%description
|
||||
Gorm is an acronym for GNUstep/Graphic Object Relationship modeler.
|
||||
Gorm is an acronym for GNUstep/Graphical Object Relationship Modeler.
|
||||
It is a clone of the NeXTstep `Interface Builder' application for GNUstep.
|
||||
With Gorm, a developer can build an interface very quickly and easily with
|
||||
no code.
|
||||
|
|
|
@ -334,7 +334,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
|
|||
[classField setBackgroundColor: ((isEditable && !isFirstResponder)?[NSColor whiteColor]:[NSColor lightGrayColor])];
|
||||
|
||||
// select the parent class
|
||||
if(index != NSNotFound)
|
||||
if(index != NSNotFound && list != nil)
|
||||
{
|
||||
[parentClass selectRow: index byExtendingSelection: NO];
|
||||
[parentClass scrollRowToVisible: index];
|
||||
|
@ -460,7 +460,8 @@ objectValueForTableColumn: (NSTableColumn *)tc
|
|||
int index = [list indexOfObject: stringValue];
|
||||
|
||||
NSLog(@"Search... %@",[searchText stringValue]);
|
||||
if(index != NSNotFound && [stringValue isEqualToString: @"FirstResponder"] == NO)
|
||||
if(index != NSNotFound && list != nil &&
|
||||
[stringValue isEqualToString: @"FirstResponder"] == NO)
|
||||
{
|
||||
// select the parent class
|
||||
[parentClass selectRow: index byExtendingSelection: NO];
|
||||
|
|
Loading…
Reference in a new issue