Revision: 30032
          http://sourceforge.net/p/bibdesk/svn/30032
Author:   hofman
Date:     2026-02-21 17:14:58 +0000 (Sat, 21 Feb 2026)
Log Message:
-----------
no need to check whether row is removed when not editing

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

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2026-02-21 16:50:25 UTC (rev 30031)
+++ trunk/bibdesk/BDSKEditor.m  2026-02-21 17:14:58 UTC (rev 30032)
@@ -2169,7 +2169,7 @@
         return NO;
     }
     // ending the edit can remove a row and make the row invalid
-    if (row + 1 < [tableView numberOfRows] || [[[control currentEditor] 
string] length] > 0 ||
+    if (editorFlags.isEditing == NO || row + 1 < [tableView numberOfRows] || 
[[[control currentEditor] string] length] > 0 ||
         ([[self window] makeFirstResponder:[self window]] && row < [tableView 
numberOfRows]))
         [tableView editColumn:1 row:row withEvent:nil select:YES];
     return YES;

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