Revision: 27413
          http://sourceforge.net/p/bibdesk/svn/27413
Author:   hofman
Date:     2022-05-13 16:44:05 +0000 (Fri, 13 May 2022)
Log Message:
-----------
ignore formatting warning when window is closed

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2022-05-13 16:38:18 UTC (rev 27412)
+++ trunk/bibdesk/BDSKEditor.m  2022-05-13 16:44:05 UTC (rev 27413)
@@ -2144,6 +2144,9 @@
 
 // send by the formatter when formatting in getObjectValue... failed
 - (BOOL)control:(NSControl *)control didFailToFormatString:(NSString *)aString 
errorDescription:(NSString *)error{
+    if ([tableView dataSource] == nil)
+        return YES;
+    
        BOOL accept = NO;
     
     if (nil == error) {

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

Reply via email to