Fix use of fast enumeration in GormConnectionInspector.m

This commit is contained in:
Gregory John Casamento 2021-03-09 13:22:57 -05:00
parent 1335a20fa5
commit f9ae7fc326

View file

@ -410,12 +410,16 @@ selectCellWithString: (NSString*)title
[aCell setEnabled: YES];
// Draws dimple for connected outlets
for (id conn in connectors) {
if ([name isEqualToString: [conn label]]) {
[aCell setIsOutletConnected: YES];
break;
NSEnumerator *en = [connectors objectEnumerator];
id conn = nil;
while ((conn = [en nextObject]) != nil)
{
if ([name isEqualToString: [conn label]])
{
[aCell setIsOutletConnected: YES];
break;
}
}
}
}
else
{