Revision: 30069
http://sourceforge.net/p/bibdesk/svn/30069
Author: hofman
Date: 2026-02-26 18:23:24 +0000 (Thu, 26 Feb 2026)
Log Message:
-----------
make sure fields table reloads after adding a field
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2026-02-26 18:10:30 UTC (rev 30068)
+++ trunk/bibdesk/BDSKEditor.m 2026-02-26 18:23:24 UTC (rev 30069)
@@ -2422,7 +2422,8 @@
[authorTableView reloadData];
NSInteger row = [fields indexOfObject:changeKey];
- if ([customFieldRows containsIndex:row] && ([NSString
isEmptyAsComplexString:newValue] != [NSString
isEmptyAsComplexString:oldValue])) {
+
+ if ((row == NSNotFound || [customFieldRows containsIndex:row]) &&
([NSString isEmptyAsComplexString:newValue] != [NSString
isEmptyAsComplexString:oldValue])) {
// a custom field was added or removed
[self reloadTableWithFields:[self currentFields]
ignoreEditing:^(NSString *editedField){
return [editedField isEqualToString:changeKey];
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