Revision: 29047
http://sourceforge.net/p/bibdesk/svn/29047
Author: hofman
Date: 2025-02-22 17:15:20 +0000 (Sat, 22 Feb 2025)
Log Message:
-----------
don't register changed pubs when the document was closed
Modified Paths:
--------------
trunk/bibdesk/BibDocument_UI.m
Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m 2025-02-22 17:09:05 UTC (rev 29046)
+++ trunk/bibdesk/BibDocument_UI.m 2025-02-22 17:15:20 UTC (rev 29047)
@@ -1407,9 +1407,11 @@
if([pub owner] != self)
return;
- if (changedPublications == nil)
- changedPublications = [[NSMutableSet alloc] init];
- [changedPublications addObject:pub];
+ if (docFlags.isDocumentClosed == NO) {
+ if (changedPublications == nil)
+ changedPublications = [[NSMutableSet alloc] init];
+ [changedPublications addObject:pub];
+ }
// note: userInfo is nil if -[BibItem setPubFields:] is called
NSDictionary *userInfo = [notification userInfo];
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