From 2c9fe6229aab313ba0292ae60db731ba34d7b32c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 5 Aug 2007 01:32:07 -0700 Subject: [PATCH] Adding an Apple radar number for where we have to use _NSArrayControllerTreeNode * Source/DebuggerWindowController.m: ([DebuggerWindowController outlineViewItemDidExpand:]) ([DebuggerWindowController addChildren:toNode:]) --- Source/DebuggerWindowController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/DebuggerWindowController.m b/Source/DebuggerWindowController.m index 2b50fa0..a2e100c 100644 --- a/Source/DebuggerWindowController.m +++ b/Source/DebuggerWindowController.m @@ -200,7 +200,7 @@ { // XXX: This very well may break because NSTreeController sends us a _NSArrayControllerTreeNode object // which is presumably private, and thus this is not a reliable method for getting the object. But - // we damn well need it, so f!ck the rules and we're using it. + // we damn well need it, so f!ck the rules and we're using it. id notifObj = [[notif userInfo] objectForKey: @"NSObject"]; NSXMLElement *obj = [notifObj observedObject]; @@ -216,6 +216,7 @@ */ - (void)addChildren: (NSArray *)children toNode: (id)node { + // XXX: this may break like in outlineViewItemDidExpand: NSIndexPath *masterPath = [node indexPath]; for (int i = 0; i < [children count]; i++) { -- 2.43.5