From 47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9 Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Thu, 14 Feb 2013 19:25:27 +0000 Subject: Changes required to merge Sequel Pro r4011 into Coda --- Source/SPTableContentDelegate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPTableContentDelegate.m') diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m index e1976762..69a8f953 100644 --- a/Source/SPTableContentDelegate.m +++ b/Source/SPTableContentDelegate.m @@ -762,7 +762,7 @@ // Check firstly if SPCopyTable can handle command if ([control control:control textView:textView doCommandBySelector:(SEL)command]) #else - if ([control control:control textView:textView doCommandBySelector:(SEL)command]) + if ([control control:control textView:textView doCommandBySelector:command]) #endif return YES; @@ -771,7 +771,7 @@ // Abort editing [control abortEditing]; - if (control == tableContentView) { + if ((SPCopyTable*)control == tableContentView) { [self cancelRowEditing]; } -- cgit v1.2.3