From 1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 13 Mar 2011 18:50:40 +0000 Subject: Fix issue related to dragging a node to a group node that is being renamed as well as fix all warnings related to the connection outlinew view. --- Source/SPTreeNode.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPTreeNode.m') diff --git a/Source/SPTreeNode.m b/Source/SPTreeNode.m index 3d5f2ebc..e197d180 100644 --- a/Source/SPTreeNode.m +++ b/Source/SPTreeNode.m @@ -28,7 +28,7 @@ #import "SPGroupNode.h" // Constants -static const NSString *SPTreeNodeIsGroupKey = @"SPTreeNodeIsGroup"; +static NSString *SPTreeNodeIsGroupKey = @"SPTreeNodeIsGroup"; @implementation SPTreeNode @@ -65,7 +65,7 @@ static const NSString *SPTreeNodeIsGroupKey = @"SPTreeNodeIsGroup"; for (SPTreeNode *node in [self childNodes]) { if (node == object) { - [[self childNodes] removeObjectIdenticalTo:object]; + [[self mutableChildNodes] removeObjectIdenticalTo:object]; return; } -- cgit v1.2.3