Revision: 25890
          http://sourceforge.net/p/bibdesk/svn/25890
Author:   hofman
Date:     2021-05-06 15:02:12 +0000 (Thu, 06 May 2021)
Log Message:
-----------
Only update UI when view was loaded

Modified Paths:
--------------
    trunk/bibdesk/BibPref_Display.m

Modified: trunk/bibdesk/BibPref_Display.m
===================================================================
--- trunk/bibdesk/BibPref_Display.m     2021-05-06 15:00:26 UTC (rev 25889)
+++ trunk/bibdesk/BibPref_Display.m     2021-05-06 15:02:12 UTC (rev 25890)
@@ -193,7 +193,7 @@
         
CFNotificationCenterPostNotification(CFNotificationCenterGetLocalCenter(), 
CFSTR("BDSKIgnoredSortTermsChangedNotification"), NULL, NULL, FALSE);
     else if ([key isEqualToString:BDSKPreviewMaxNumberKey])
         [[NSNotificationCenter defaultCenter] 
postNotificationName:BDSKPreviewDisplayChangedNotification object:nil];
-    else if (updatingFont == NO)
+    else if (updatingFont == NO && [self isViewLoaded])
         [self performSelectorOnce:@selector(updateFontDisplayUI) 
withObject:nil afterDelay:0.0];
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to