Revision: 30021
          http://sourceforge.net/p/bibdesk/svn/30021
Author:   hofman
Date:     2026-02-19 23:13:33 +0000 (Thu, 19 Feb 2026)
Log Message:
-----------
remove fields after adding fields to field set, so shown columns are not 
included in special column names to add

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

Modified: trunk/bibdesk/BDSKTypeManager.m
===================================================================
--- trunk/bibdesk/BDSKTypeManager.m     2026-02-19 18:21:58 UTC (rev 30020)
+++ trunk/bibdesk/BDSKTypeManager.m     2026-02-19 23:13:33 UTC (rev 30021)
@@ -320,10 +320,10 @@
 
 - (NSArray *)allFieldNamesIncluding:(NSArray *)include excluding:(NSArray 
*)exclude{
     NSMutableArray *fieldNames = [[[self allFieldsSet] allObjects] 
mutableCopy];
+    if ([include count])
+        [fieldNames addObjectsFromArray:include];
     if([exclude count])
         [fieldNames removeObjectsInArray:exclude];
-    if ([include count])
-        [fieldNames addObjectsFromArray:include];
     [fieldNames sortUsingSelector:@selector(caseInsensitiveNumericCompare:)];
     return fieldNames;
 }

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