Revision: 27466
          http://sourceforge.net/p/bibdesk/svn/27466
Author:   hofman
Date:     2022-05-23 14:26:53 +0000 (Mon, 23 May 2022)
Log Message:
-----------
Don't set flag when fields were not changed

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2022-05-23 14:18:50 UTC (rev 27465)
+++ trunk/bibdesk/BDSKEditor.m  2022-05-23 14:26:53 UTC (rev 27466)
@@ -3455,10 +3455,10 @@
 - (void)resetFieldsIfNeeded{
     NSArray *currentFields = [self currentFields];
     
-    if ([fields isEqualToArray:currentFields] == NO)
+    if ([fields isEqualToArray:currentFields] == NO) {
         [self reloadTableWithFields:currentFields];
-    
-       editorFlags.didSetupFields = YES;
+        editorFlags.didSetupFields = YES;
+    }
 }
 
 - (CGFloat)addButtonToCollectionviewItem:(BDSKEditorCollectionViewItem *)item {

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