Changeset 7327


Ignore:
Timestamp:
Dec 9, 2008, 1:01:29 AM (13 years ago)
Author:
livings124
Message:

revert last change - it didn't load the values properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/GroupsPrefsController.m

    r7326 r7327  
    277277    if (rules)
    278278    {
    279         for (NSInteger index = 0; index < [rules count]; index++)
     279        for (NSInteger i = 0; i < [rules count]; i++)
    280280        {
    281281            [fRuleEditor addRow: nil];
    282             [fRuleEditor setCriteria: [rules objectAtIndex: index] andDisplayValues: [NSArray array] forRowAtIndex: index];
     282            [fRuleEditor setCriteria: [rules objectAtIndex: i] andDisplayValues: [NSArray array] forRowAtIndex: i];
    283283        }
    284284    }
     
    286286    if ([fRuleEditor numberOfRows] == 0)
    287287        [fRuleEditor addRow: nil];
    288    
    289     [fRuleEditor reloadCriteria];
    290288
    291289    [NSApp beginSheet: fGroupRulesSheetWindow modalForWindow: [fTableView window] modalDelegate: nil didEndSelector: NULL
Note: See TracChangeset for help on using the changeset viewer.