diff options
author | stuconnolly <stuart02@gmail.com> | 2011-03-13 18:50:40 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-03-13 18:50:40 +0000 |
commit | 1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29 (patch) | |
tree | f2fc34195718108f7770900994443931b6b8807e /Source/SPTreeNode.m | |
parent | c2cf0e39c3c59c3548bf39f0835ac552cdcd23f4 (diff) | |
download | sequelpro-1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29.tar.gz sequelpro-1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29.tar.bz2 sequelpro-1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29.zip |
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.
Diffstat (limited to 'Source/SPTreeNode.m')
-rw-r--r-- | Source/SPTreeNode.m | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |