Revision: 26415 http://sourceforge.net/p/bibdesk/svn/26415 Author: hofman Date: 2021-07-14 14:48:27 +0000 (Wed, 14 Jul 2021) Log Message: ----------- Don't drag from table subview to table
Modified Paths: -------------- trunk/bibdesk/BDSKEditor.m Modified: trunk/bibdesk/BDSKEditor.m =================================================================== --- trunk/bibdesk/BDSKEditor.m 2021-07-14 13:41:52 UTC (rev 26414) +++ trunk/bibdesk/BDSKEditor.m 2021-07-14 14:48:27 UTC (rev 26415) @@ -3068,7 +3068,7 @@ NSPasteboard *pboard = [info draggingPasteboard]; NSString *field = row == -1 ? nil : [fields objectAtIndex:row]; - if ([info draggingSource] == tableView) { + if ([[info draggingSource] respondsToSelector:@selector(isDescendantOf:)] && [[info draggingSource] isDescendantOf:tableView]) { return NSDragOperationNone; } else if ([field isCitationField] || [field isEqualToString:BDSKCrossrefString]) { if ([pboard canReadItemWithDataConformingToTypes:[NSArray arrayWithObjects:BDSKPasteboardTypePublications, nil]]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit