Fixed a longstanding bug with making connections.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-05-30 03:48:38 +00:00
parent 069acfa974
commit a092bea159
2 changed files with 14 additions and 0 deletions

View file

@ -1,5 +1,13 @@
2004-05-29 23:10 Gregory John Casamento <greg_casamento@yahoo.com>
* GormInspectorsManager.m: [GormConnectionsInspector _internalCall:]
The search for an existing control connection was leaving the
con variable set to a outlet connection (occasionally) which caused
later logic to not properly set the action list and prevented the user
from selecting an action.
2004-05-29 23:10 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: [Gorm testInterface:] removed conditional. The services
menu is always set to nil when testing. [Gorm endTesting:] added
a NS_DURING block to catch any issues with resetting the services menu.

View file

@ -726,7 +726,12 @@
allActionsForObject: [con destination]]);
break;
}
else
{
con = nil;
}
}
if (con == nil)
{
RELEASE(actions);
@ -741,6 +746,7 @@
AUTORELEASE(con);
}
}
if (currentConnector != con)
{
ASSIGN(currentConnector, con);