Revision: 27536
http://sourceforge.net/p/bibdesk/svn/27536
Author: hofman
Date: 2022-06-03 15:49:11 +0000 (Fri, 03 Jun 2022)
Log Message:
-----------
no need to set date added,as new parsed items from a string should have it set
Modified Paths:
--------------
trunk/bibdesk/BibItem+Scripting.m
Modified: trunk/bibdesk/BibItem+Scripting.m
===================================================================
--- trunk/bibdesk/BibItem+Scripting.m 2022-06-03 15:47:02 UTC (rev 27535)
+++ trunk/bibdesk/BibItem+Scripting.m 2022-06-03 15:49:11 UTC (rev 27536)
@@ -536,11 +536,6 @@
// otherwise use the information of the first publication found in the
string.
BibItem * newPub = [newPubs objectAtIndex:0];
- // a parsed pub has no creation date set, so we need to copy first
- NSString *createdDate = [self valueOfField:BDSKDateAddedString
inherit:NO];
- if (![NSString isEmptyString:createdDate])
- [newPub setField:BDSKDateAddedString toValue:createdDate];
-
// ... and replace the current record with it.
// hopefully, I don't understand the whole filetypes/pubtypes stuff
[self setPubType:[newPub pubType]];
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