aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAbhi Beckert <abhi@abhibeckert.com>2016-04-10 13:36:58 +1000
committerAbhi Beckert <abhi@abhibeckert.com>2016-04-10 13:37:11 +1000
commit3532ae5ae5d6f90c0e60402015a7a791045a26d8 (patch)
tree6f7e324d6aede149266f3bb0661ebac6769390ff /Source
parent8d6c9a4168ded4ef660b32e5cce5511e6717ec5f (diff)
downloadsequelpro-3532ae5ae5d6f90c0e60402015a7a791045a26d8.tar.gz
sequelpro-3532ae5ae5d6f90c0e60402015a7a791045a26d8.tar.bz2
sequelpro-3532ae5ae5d6f90c0e60402015a7a791045a26d8.zip
#2470 fix logic error preventing drag from table content view
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableContentDelegate.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m
index bf7aac5d..6634e29e 100644
--- a/Source/SPTableContentDelegate.m
+++ b/Source/SPTableContentDelegate.m
@@ -383,8 +383,7 @@
tmp = [tableContentView draggedRowsAsTabString];
}
-#warning code inside "if" is unreachable
- if (!tmp && [tmp length])
+ if (tmp && [tmp length])
{
[pboard declareTypes:@[NSTabularTextPboardType, NSStringPboardType] owner:nil];