Revision: 28608 http://sourceforge.net/p/bibdesk/svn/28608 Author: hofman Date: 2024-01-15 10:22:57 +0000 (Mon, 15 Jan 2024) Log Message: ----------- don't bother saving selection of library group
Modified Paths: -------------- trunk/bibdesk/BibDocument.m Modified: trunk/bibdesk/BibDocument.m =================================================================== --- trunk/bibdesk/BibDocument.m 2024-01-15 00:09:39 UTC (rev 28607) +++ trunk/bibdesk/BibDocument.m 2024-01-15 10:22:57 UTC (rev 28608) @@ -773,7 +773,7 @@ [dictionary setObject:[NSNumber numberWithUnsignedInteger:encoding] forKey:BDSKDocumentStringEncodingKey]; // encode groups so we can select them later with isEqual: (saving row indexes would not be as reliable) - [dictionary setObject:([self hasGroupTypeSelected:BDSKExternalGroupType] ? [NSData data] : [NSKeyedArchiver archivedDataWithRootObject:[self selectedGroups]]) forKey:BDSKSelectedGroupsKey]; + [dictionary setObject:([self hasGroupTypeSelected:BDSKExternalGroupType | BDSKLibraryGroupType] ? [NSData data] : [NSKeyedArchiver archivedDataWithRootObject:[self selectedGroups]]) forKey:BDSKSelectedGroupsKey]; NSArray *selectedKeys = [[self selectedPublications] valueForKey:@"citeKey"]; if ([selectedKeys count] == 0 || [self hasGroupTypeSelected:BDSKExternalGroupType]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit