Adding fix for outlet deletion exception.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17462 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-08-10 03:36:27 +00:00
parent 5b95b9555c
commit 3999531d91
3 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,10 @@
2003-08-09 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCustomView.m: Corrected obsolete header reference.
* GormInspectorsManager.m: Removed extra establishConnection call
which was causing a problem when removing connections from
NSOwner.
2003-08-04 Fabien Vallon <fabien@tuxfamily>
* Add a good when adding Images

View file

@ -28,7 +28,7 @@
#include <AppKit/NSFont.h>
#include <AppKit/NSNibLoading.h>
#include <AppKit/GSNibTemplates.h>
#include <GNUstepGUI/GSNibTemplates.h>
@class GSCustomView;

View file

@ -1058,17 +1058,16 @@ selectCellWithString: (NSString*)title
{
[currentConnector setDestination: nil];
if ([[currentConnector source] isKindOfClass:
[GormObjectProxy class]] == NO)
{
if ([[currentConnector source] isKindOfClass:
[GormObjectProxy class]] == NO)
{
[currentConnector establishConnection];
}
}
}
if ([currentConnector isKindOfClass: [NSNibControlConnector class]])
{
[currentConnector setDestination: nil];
[currentConnector setLabel: nil];
[currentConnector establishConnection];
}
[connectors removeObject: currentConnector];
[oldBrowser loadColumnZero];