Revision: 28797
http://sourceforge.net/p/bibdesk/svn/28797
Author: hofman
Date: 2024-02-22 00:25:50 +0000 (Thu, 22 Feb 2024)
Log Message:
-----------
always use mainDocument for shared previewer, should not be a template document
Modified Paths:
--------------
trunk/bibdesk/BDSKPreviewer.m
Modified: trunk/bibdesk/BDSKPreviewer.m
===================================================================
--- trunk/bibdesk/BDSKPreviewer.m 2024-02-22 00:00:51 UTC (rev 28796)
+++ trunk/bibdesk/BDSKPreviewer.m 2024-02-22 00:25:50 UTC (rev 28797)
@@ -213,7 +213,7 @@
[super showWindow:self];
- [(BibDocument *)[[NSDocumentController sharedDocumentController]
currentDocument] updatePreviewer:self];
+ [[[NSDocumentController sharedDocumentController] mainDocument]
updatePreviewer:self];
if(![[NSUserDefaults standardUserDefaults] boolForKey:BDSKUsesTeXKey]){
NSAlert *alert = [[NSAlert alloc] init];
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