Revision: 29314
http://sourceforge.net/p/bibdesk/svn/29314
Author: hofman
Date: 2025-07-21 16:42:45 +0000 (Mon, 21 Jul 2025)
Log Message:
-----------
only reset standard fields when changing default fields
Modified Paths:
--------------
trunk/bibdesk/BDSKTypeManager.m
Modified: trunk/bibdesk/BDSKTypeManager.m
===================================================================
--- trunk/bibdesk/BDSKTypeManager.m 2025-07-21 16:33:01 UTC (rev 29313)
+++ trunk/bibdesk/BDSKTypeManager.m 2025-07-21 16:42:45 UTC (rev 29314)
@@ -305,7 +305,8 @@
- (void)updateCustomFields:(BDSKFieldTypeMask)changedTypes {
[self reloadFieldSets];
- [standardFieldsForTypes removeAllObjects];
+ if ((changedTypes & BDSKFieldTypeMaskDefault))
+ [standardFieldsForTypes removeAllObjects];
[[NSNotificationCenter defaultCenter]
postNotificationName:BDSKCustomFieldsChangedNotification object:self
userInfo:@{BDSKChangedFieldTypesKey: [NSNumber
numberWithUnsignedInteger:changedTypes]}];
}
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