Revision: 29316
http://sourceforge.net/p/bibdesk/svn/29316
Author: hofman
Date: 2025-07-21 16:57:31 +0000 (Mon, 21 Jul 2025)
Log Message:
-----------
add comments
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
trunk/bibdesk/BibItem.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2025-07-21 16:46:20 UTC (rev 29315)
+++ trunk/bibdesk/BDSKEditor.m 2025-07-21 16:57:31 UTC (rev 29316)
@@ -2494,6 +2494,8 @@
[self resetFields:BDSKNoReload];
}
+// this is forwarded by the document rather than observed by ourselves,
+// so we can be sure it is performed after the publication
- (void)customFieldsDidChange:(NSNotification *)notification{
BDSKFieldTypeMask change = [[[notification userInfo]
objectForKey:BDSKChangedFieldTypesKey] unsignedIntegerValue];
if ((change & (BDSKFieldTypeMaskURL | BDSKFieldTypeMaskInteger |
BDSKFieldTypeMaskCitation | BDSKFieldTypeMaskDefault))) {
Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m 2025-07-21 16:46:20 UTC (rev 29315)
+++ trunk/bibdesk/BibItem.m 2025-07-21 16:57:31 UTC (rev 29316)
@@ -515,6 +515,8 @@
#pragma mark -
+// this is forwarded by the document rather than observed by ourselves,
+// so we can be sure it is performed before the UI is updated
- (void)customFieldsDidChange:(NSNotification *)notification{
BDSKFieldTypeMask change = [[[notification userInfo]
objectForKey:BDSKChangedFieldTypesKey] unsignedIntegerValue];
// group values for these field types may change, so our cached values
should be discarded
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