diff --git a/AppKit/CPRuleEditor/CPRuleEditor.j b/AppKit/CPRuleEditor/CPRuleEditor.j index ab6b703d0..b792e9525 100644 --- a/AppKit/CPRuleEditor/CPRuleEditor.j +++ b/AppKit/CPRuleEditor/CPRuleEditor.j @@ -1520,23 +1520,10 @@ TODO: implement oldRows = [CPArray arrayWithArray:newRows]; [oldRows removeObjectsInArray:changeNewValue]; } - else if (changeKind === CPKeyValueChangeRemoval) - { - newRows = [self _subrowObjectsOfObject:object]; - oldRows = [CPArray arrayWithArray:newRows]; - var delIndexes = [change objectForKey:CPKeyValueChangeIndexesKey]; - [oldRows insertObjects:delObjects atIndexes:changeOldValue]; // Pas sur que ce soit bon - } [self _changedRowArray:newRows withOldRowArray:oldRows forParent:object]; [self _reconfigureSubviewsAnimate:[self _wantsRowAnimations]]; } - else if (context === itemsContext) - { - } - else if (context === valuesContext) - { - } } - (void)_changedItem:(id)fromItem toItem:(id)toItem inRow:(int)aRow atCriteriaIndex:(int)fromItemIndex