From 3532ae5ae5d6f90c0e60402015a7a791045a26d8 Mon Sep 17 00:00:00 2001 From: Abhi Beckert Date: Sun, 10 Apr 2016 13:36:58 +1000 Subject: #2470 fix logic error preventing drag from table content view --- Source/SPTableContentDelegate.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source') 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]; -- cgit v1.2.3