Revision: 29242 http://sourceforge.net/p/bibdesk/svn/29242 Author: hofman Date: 2025-04-29 14:09:59 +0000 (Tue, 29 Apr 2025) Log Message: ----------- no need to compare from set
Modified Paths: -------------- trunk/bibdesk/BDSKSearchGroupSheetController.m Modified: trunk/bibdesk/BDSKSearchGroupSheetController.m =================================================================== --- trunk/bibdesk/BDSKSearchGroupSheetController.m 2025-04-29 14:05:49 UTC (rev 29241) +++ trunk/bibdesk/BDSKSearchGroupSheetController.m 2025-04-29 14:09:59 UTC (rev 29242) @@ -59,7 +59,7 @@ + (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key { NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key]; - if ([[NSSet setWithObjects:@"type", nil] containsObject:key]) + if ([@"type" isEqualToString:key]) keyPaths = [keyPaths setByAddingObjectsFromSet:[NSSet setWithObjects:@"serverInfo", nil]]; else if ([[NSSet setWithObjects:@"typeTag", @"zoom", @"ISI", @"SRU", @"zoomOrISI", @"zoomOrSRU", @"databases", nil] containsObject:key]) keyPaths = [keyPaths setByAddingObjectsFromSet:[NSSet setWithObjects:@"type", nil]]; 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