diff options
Diffstat (limited to 'Source/SPTableContentDelegate.m')
-rw-r--r-- | Source/SPTableContentDelegate.m | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } |