Revision: 27271
http://sourceforge.net/p/bibdesk/svn/27271
Author: hofman
Date: 2022-03-06 20:07:20 +0000 (Sun, 06 Mar 2022)
Log Message:
-----------
Always set archived items when copying converted items
Modified Paths:
--------------
trunk/bibdesk/BDSKItemPasteboardHelper.m
Modified: trunk/bibdesk/BDSKItemPasteboardHelper.m
===================================================================
--- trunk/bibdesk/BDSKItemPasteboardHelper.m 2022-03-06 19:41:55 UTC (rev
27270)
+++ trunk/bibdesk/BDSKItemPasteboardHelper.m 2022-03-06 20:07:20 UTC (rev
27271)
@@ -154,11 +154,10 @@
}
if (text)
[item setString:text forType:NSPasteboardTypeString];
- if ([types count]) {
- if (converted)
- [item setData:[BibItem archivedPublications:items]
forType:BDSKPasteboardTypePublications];
+ if (converted)
+ [item setData:[BibItem archivedPublications:items]
forType:BDSKPasteboardTypePublications];
+ if ([types count])
[item setDataProvider:self forTypes:types];
- }
if (needsWrite)
[pboard writeObjects:[NSArray arrayWithObjects:item, nil]];
}
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