Correcting connection inspector.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19484 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-06-08 03:53:48 +00:00
parent bf5616de62
commit fdb6848bfb
2 changed files with 15 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2004-06-07 23:59 Gregory John Casamento <greg_casamento@yahoo.com>
* GormInspectorsManager.m: [GormConnectionInspector setObject:]
corrected code to call "isConnecting" before blindly causing the
inspector to show the connection on the selected object. This
was interfering with the user making connections in some cases.
2004-06-06 21:57 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/3Containers/GormNSOutlineView.h: added ivar

View file

@ -869,6 +869,10 @@
}
}
}
// if it's a control connection select target, if not, don't
// if([currentConnector isKindOfClass: [NSNib
[self updateButtons];
}
@ -1188,8 +1192,10 @@ selectCellWithString: (NSString*)title
[newBrowser sendAction];
}
}
if ([currentConnector isKindOfClass:
[NSNibControlConnector class]] == YES)
if ([currentConnector isKindOfClass: [NSNibControlConnector class]] == YES &&
[NSApp isConnecting] == NO)
{
[newBrowser setPath: @"/target"];
[newBrowser sendAction];