diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-24 21:10:57 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-24 21:10:57 +0000 |
commit | 7342e8cb80a945b258aa4d52d0d74fe4f1690ae4 (patch) | |
tree | 5894d54b7899fa582d4064f4a9df47687f92949c /Source/SPTableContentDelegate.m | |
parent | ceb7ac070de284fea209962bf7352bffc1788218 (diff) | |
download | sequelpro-7342e8cb80a945b258aa4d52d0d74fe4f1690ae4.tar.gz sequelpro-7342e8cb80a945b258aa4d52d0d74fe4f1690ae4.tar.bz2 sequelpro-7342e8cb80a945b258aa4d52d0d74fe4f1690ae4.zip |
Fix more warnings.
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 e0064337..e1976762 100644 --- a/Source/SPTableContentDelegate.m +++ b/Source/SPTableContentDelegate.m @@ -756,13 +756,13 @@ * Trap the enter, escape, tab and arrow keys, overriding default behaviour and continuing/ending editing, * only within the current row. */ -- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command +- (BOOL)control:(NSControl<NSControlTextEditingDelegate> *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command { #ifndef SP_REFACTOR // Check firstly if SPCopyTable can handle command if ([control control:control textView:textView doCommandBySelector:(SEL)command]) #else - if ([(id<NSControlTextEditingDelegate>)control control:control textView:textView doCommandBySelector:(SEL)command]) + if ([control control:control textView:textView doCommandBySelector:(SEL)command]) #endif return YES; |