Revision: 27567
          http://sourceforge.net/p/bibdesk/svn/27567
Author:   hofman
Date:     2022-06-06 14:19:28 +0000 (Mon, 06 Jun 2022)
Log Message:
-----------
No need to note chanegs to linked remote URLs when noting changes to linked 
local files

Modified Paths:
--------------
    trunk/bibdesk/BibItem.m

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2022-06-06 14:13:54 UTC (rev 27566)
+++ trunk/bibdesk/BibItem.m     2022-06-06 14:19:28 UTC (rev 27567)
@@ -3072,10 +3072,8 @@
     
     // Cause the file content search index (if any) to update, since we 
bypassed the normal insert mechanism where this is typically handled.  The 
date-modified will only be set if fields are removed, since the applier 
function calls setField:toValue:.  
     // @@ Calling 
migrateFilesWithRemoveOptions:numberOfAddedFiles:numberOfRemovedFields:error: 
from -createFiles will also cause date-modified to be set.
-    if (addedLocalFiles > 0)
-        [self noteFilesChanged:YES];
-    if (context.numberOfAddedFiles > addedLocalFiles)
-        [self noteFilesChanged:NO];
+    if (context.numberOfAddedFiles > 0)
+        [self noteFilesChanged:addedLocalFiles > 0];
     
     if (numberOfAddedFiles)
         *numberOfAddedFiles = context.numberOfAddedFiles;

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

Reply via email to