Revision: 27453
          http://sourceforge.net/p/bibdesk/svn/27453
Author:   hofman
Date:     2022-05-21 23:19:21 +0000 (Sat, 21 May 2022)
Log Message:
-----------
don't explicitly commit edits when saving a document. It should happen from the 
editor registration if needed, and doing it in the write method can lead to an 
invalid auto save registration.

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2022-05-21 18:03:12 UTC (rev 27452)
+++ trunk/bibdesk/BibDocument.m 2022-05-21 23:19:21 UTC (rev 27453)
@@ -1185,7 +1185,7 @@
     NSError *nsError = nil;
     
     // callers are responsible for making sure all edits are committed
-    NSParameterAssert([self commitPendingEdits]);
+    //NSParameterAssert([self commitPendingEdits]);
     
     if ([docType isEqualToString:BDSKArchiveDocumentType])
         success = [self writeArchiveToURL:fileURL error:&nsError];

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