mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Fix use of fast enumeration in GormConnectionInspector.m
This commit is contained in:
parent
1335a20fa5
commit
f9ae7fc326
1 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue