Revision: 28807
          http://sourceforge.net/p/bibdesk/svn/28807
Author:   hofman
Date:     2024-02-23 16:59:13 +0000 (Fri, 23 Feb 2024)
Log Message:
-----------
no need to check for doccument twice

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2024-02-23 16:50:48 UTC (rev 28806)
+++ trunk/bibdesk/BibItem.m     2024-02-23 16:59:13 UTC (rev 28807)
@@ -4180,7 +4180,7 @@
             removeMask |= BDSKRemoveRemoteURLFields;
         [self migrateFilesWithRemoveOptions:removeMask 
numberOfAddedFiles:&added numberOfRemovedFields:NULL error:NULL];
         // Don't post this unless the owner is a document.  At present, if we 
open a URL group using a local file on disk that has valid URLs, this method 
will be called and it will end up with BDSKLinkedFile instances.  If we then 
click the "Import" button in the document, no warning is displayed because we 
don't call migrateFilesAndRemove:... again.
-        if (added > 0 && [[self owner] isDocument])
+        if (added > 0)
             [(BibDocument *)[self owner] publicationDidAutoConvertFiles];
     }
 }

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