diff --git a/AppKit/CPArrayController.j b/AppKit/CPArrayController.j index 5cf53d08f..5ffd31e19 100644 --- a/AppKit/CPArrayController.j +++ b/AppKit/CPArrayController.j @@ -914,11 +914,10 @@ var newObject = [self automaticallyPreparesContent] ? [self newObject] : [self _defaultNewObject], lastSelectedIndex = [_selectionIndexes lastIndex]; - if (lastSelectedIndex != CPNotFound) + if (lastSelectedIndex !== CPNotFound) [self insertObject:newObject atArrangedObjectIndex:lastSelectedIndex]; else [self addObject:newObject]; - } /*!