diff options
author | Abhi Beckert <abhi@abhibeckert.com> | 2016-04-10 13:36:58 +1000 |
---|---|---|
committer | Abhi Beckert <abhi@abhibeckert.com> | 2016-04-10 13:37:11 +1000 |
commit | 3532ae5ae5d6f90c0e60402015a7a791045a26d8 (patch) | |
tree | 6f7e324d6aede149266f3bb0661ebac6769390ff | |
parent | 8d6c9a4168ded4ef660b32e5cce5511e6717ec5f (diff) | |
download | sequelpro-3532ae5ae5d6f90c0e60402015a7a791045a26d8.tar.gz sequelpro-3532ae5ae5d6f90c0e60402015a7a791045a26d8.tar.bz2 sequelpro-3532ae5ae5d6f90c0e60402015a7a791045a26d8.zip |
#2470 fix logic error preventing drag from table content view
-rw-r--r-- | Source/SPTableContentDelegate.m | 3 |
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]; |