From 0c999867829f226d9a8a7d8333177c72512c5b5f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 11 Jun 2008 13:57:22 -0400 Subject: [PATCH] Index path by appending IP with a counter --- Source/DebuggerWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DebuggerWindowController.m b/Source/DebuggerWindowController.m index 1418738..ab0d6ca 100644 --- a/Source/DebuggerWindowController.m +++ b/Source/DebuggerWindowController.m @@ -276,7 +276,7 @@ for (NSXMLNode *child in children) { NSTreeNode *newChild = [[NSTreeNode alloc] initWithRepresentedObject:child]; - [registerController insertObject:child atArrangedObjectIndexPath:[ip indexPathByAddingIndex:0]]; + [registerController insertObject:child atArrangedObjectIndexPath:[ip indexPathByAddingIndex:i]]; i++; [newChild release]; } -- 2.43.5