mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-06 20:55:32 +00:00
CPOutlineView notify for items expanded after having reloaded them
This commit is contained in:
1 parent
fe138be7ae
commit
e4a6d8520c
1 file changed
+1
-2
@@ -376,9 +376,8 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0,
|
||||
var previousRowCount = [self numberOfRows];
|
||||
|
||||
itemInfo.isExpanded = YES;
|
||||
// XXX Shouldn't the items reload before the notification is sent?
|
||||
[self _noteItemDidExpand:anItem];
|
||||
[self reloadItem:anItem reloadChildren:YES];
|
||||
[self _noteItemDidExpand:anItem];
|
||||
|
||||
// Shift selection indexes below so that the same items remain selected.
|
||||
var rowCountDelta = [self numberOfRows] - previousRowCount;
|
||||
|
||||
Reference in new issue
Block a user