From a18ea750a61c2123d24fbba0a4bb2bf668aad433 Mon Sep 17 00:00:00 2001 From: Klaas Pieter Annema Date: Fri, 29 Jan 2010 18:01:46 +0100 Subject: [PATCH] Fixed a bug where CPOutlineView would not call super's implementation of selectRowIndexes:byExtendingSelection: --- AppKit/CPOutlineView.j | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j index 19f194c8d..75eaf6371 100644 --- a/AppKit/CPOutlineView.j +++ b/AppKit/CPOutlineView.j @@ -353,7 +353,7 @@ var CPOutlineViewDataSource_outlineView_setObjectValue_forTableColumn_byItem_ item = [self itemAtRow:rowIndex]; if (![self isExpandable:item]) - return; + continue; var control = _disclosureControlsForRows[rowIndex]; [control setHighlighted:NO]; @@ -363,16 +363,16 @@ var CPOutlineViewDataSource_outlineView_setObjectValue_forTableColumn_byItem_ // Now highlight the new disclosure controls var selectedRows = []; - [rows getIndexes:selectedRows maxCount:-1 inIndexRange:nil]; + [rows getIndexes:selectedRows maxCount:-1 inIndexRange:nil]; - var index = [selectedRows count]; + var index = [selectedRows count]; while (index--) { var rowIndex = selectedRows[index], item = [self itemAtRow:rowIndex]; if (![self isExpandable:item]) - return; + continue; var control = _disclosureControlsForRows[rowIndex]; [control setHighlighted:YES];