Revision: 29342
          http://sourceforge.net/p/bibdesk/svn/29342
Author:   hofman
Date:     2025-07-23 15:49:05 +0000 (Wed, 23 Jul 2025)
Log Message:
-----------
just make sure we don't observe text view edit notifications

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2025-07-23 15:30:38 UTC (rev 29341)
+++ trunk/bibdesk/BDSKEditor.m  2025-07-23 15:49:05 UTC (rev 29342)
@@ -2385,7 +2385,7 @@
         [self updateCiteKeyDuplicateWarning];
     }
     else if([changeKey isNoteField]){
-        if(editorFlags.ignoreFieldChange == NO) {
+        if(editorFlags.ignoreFieldChange == NO && (newValue || oldValue)) {
             if (currentEditedView && [[currentEditedView identifier] 
isEqualToString:changeKey]) {
                 [currentEditedView setString:newValue ?: @""];
                 // undo actions in the text view are now invalid

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