Revision: 29295
          http://sourceforge.net/p/bibdesk/svn/29295
Author:   hofman
Date:     2025-07-18 15:37:00 +0000 (Fri, 18 Jul 2025)
Log Message:
-----------
only commit and reload table when editing table when custom fields changed, 
always reload collection view and author table

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2025-07-18 15:34:04 UTC (rev 29294)
+++ trunk/bibdesk/BDSKEditor.m  2025-07-18 15:37:00 UTC (rev 29295)
@@ -2494,11 +2494,10 @@
 - (void)customFieldsDidChange:(NSNotification *)aNotification{
     // ensure that the pub updates first, since it observes this notification 
also
     [publication customFieldsDidChange:aNotification];
-    if ([self commitEditing]) {
+    if (editorFlags.isEditing == NO || [tableView rowForView:(NSText *)[[self 
window] firstResponder]] == -1 || [self commitEditing])
         [self resetFields:BDSKUpdateTable];
-        [self setupCollectionView];
-        [authorTableView reloadData];
-    }
+    [self setupCollectionView];
+    [authorTableView reloadData];
 }
 
 - (void)macrosDidChange:(NSNotification *)notification{

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