mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Revert use of fast enumeration
This commit is contained in:
parent
f9ae7fc326
commit
b777e0e383
2 changed files with 7 additions and 2 deletions
|
@ -47,7 +47,9 @@
|
|||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
for (NSCell *cell in [orientation cells])
|
||||
NSEnumerator *en = [orientation objectEnumerator];
|
||||
NSCell *cell = nil;
|
||||
while ((cell = [en nextObject]) != nil)
|
||||
{
|
||||
[cell setRefusesFirstResponder: YES];
|
||||
}
|
||||
|
|
|
@ -67,7 +67,10 @@ const unichar rt[]={NSRightArrowFunctionKey};
|
|||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
for (NSCell *cell in [keyType cells])
|
||||
NSArray *cells = [keyType cells];
|
||||
NSEnumerator *en = [cells objectEnumerator];
|
||||
NSCell *cell = nil;
|
||||
while ((cell = [en nextObject]) != nil)
|
||||
{
|
||||
[cell setRefusesFirstResponder: YES];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue