Revision: 23970
http://sourceforge.net/p/bibdesk/svn/23970
Author: hofman
Date: 2019-07-08 14:00:36 +0000 (Mon, 08 Jul 2019)
Log Message:
-----------
don't automatically download remote urls for items that already have linked
files
Modified Paths:
--------------
trunk/bibdesk/BibDocument.m
Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2019-07-08 06:31:12 UTC (rev 23969)
+++ trunk/bibdesk/BibDocument.m 2019-07-08 14:00:36 UTC (rev 23970)
@@ -2123,7 +2123,7 @@
NSArray *types = [sud stringArrayForKey:BDSKURLTypesToDownloadKey];
for (pub in newPubs) {
if (useLocalUrlAndUrl) {
- if ([pub canDownloadURLForField:BDSKUrlString] && [types
containsObject:[[[pub remoteURLForField:BDSKUrlString] pathExtension]
lowercaseString] ?: @""])
+ if ([pub canDownloadURLForField:BDSKUrlString] && [[pub
localFiles] count] == 0 && [types containsObject:[[[pub
remoteURLForField:BDSKUrlString] pathExtension] lowercaseString] ?: @""])
[pub downloadURLForField:BDSKUrlString];
} else if ([[pub localFiles] count] == 0) {
for (BDSKLinkedFile *linkedURL in [pub remoteURLs]) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit