diff options
author | Max <post@wickenrode.com> | 2014-12-13 02:45:23 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2014-12-13 02:45:23 +0100 |
commit | 33fd38501be11213968536a0c540cee7061e42a9 (patch) | |
tree | de83a5713f16922c5431ed46dad245eae1336500 /Source | |
parent | 00d1e5aee581ff413ded538a470ade2073bb6a43 (diff) | |
download | sequelpro-33fd38501be11213968536a0c540cee7061e42a9.tar.gz sequelpro-33fd38501be11213968536a0c540cee7061e42a9.tar.bz2 sequelpro-33fd38501be11213968536a0c540cee7061e42a9.zip |
Mark issue for s.o. to look at
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableContentDelegate.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m index f6b933f7..2f78a120 100644 --- a/Source/SPTableContentDelegate.m +++ b/Source/SPTableContentDelegate.m @@ -367,10 +367,11 @@ else { tmp = [tableContentView draggedRowsAsTabString]; } - + +#warning code inside "if" is unreachable if (!tmp && [tmp length]) { - [pboard declareTypes:[NSArray arrayWithObjects: NSTabularTextPboardType, NSStringPboardType, nil] owner:nil]; + [pboard declareTypes:@[NSTabularTextPboardType, NSStringPboardType] owner:nil]; [pboard setString:tmp forType:NSStringPboardType]; [pboard setString:tmp forType:NSTabularTextPboardType]; |