Revision: 27619
http://sourceforge.net/p/bibdesk/svn/27619
Author: hofman
Date: 2022-06-12 23:18:55 +0000 (Sun, 12 Jun 2022)
Log Message:
-----------
check owner once
Modified Paths:
--------------
trunk/bibdesk/BibItem.m
Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m 2022-06-12 21:39:53 UTC (rev 27618)
+++ trunk/bibdesk/BibItem.m 2022-06-12 23:18:55 UTC (rev 27619)
@@ -632,12 +632,11 @@
[downloads removeAllObjects];
}
owner = newOwner;
- // we don't reset the macroResolver when the owner is set to nil,
because we use the macroResolver to know the macroResolver used for the fields,
so we can prevent items from being added to another document
- if (newOwner)
+ if (owner) {
+ // we don't reset the macroResolver when the owner is set to nil,
because we use the macroResolver to know the macroResolver used for the fields,
so we can prevent items from being added to another document
[self setMacroResolver:[owner macroResolver]];
- // !!! TODO: check this
- if (owner)
[self createFilesArray];
+ }
}
}
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