Revision: 26865
          http://sourceforge.net/p/bibdesk/svn/26865
Author:   hofman
Date:     2021-09-13 22:12:35 +0000 (Mon, 13 Sep 2021)
Log Message:
-----------
Update bibauthor object for person category groups when author display changes, 
the obejctValue may be replaced by an NSAttributedString

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

Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m      2021-09-13 21:19:56 UTC (rev 26864)
+++ trunk/bibdesk/BibDocument_UI.m      2021-09-13 22:12:35 UTC (rev 26865)
@@ -1815,8 +1815,11 @@
             [tableView reloadDataForRowIndexes:rowIndexes 
columnIndexes:colIndexes];
             for (BDSKCategoryParentGroup *group in [groups categoryParents]) {
                 if ([[group key] isPersonField] && [groupOutlineView 
isItemExpanded:group]) {
-                    for (BDSKGroup *catGroup in [group categoryGroups])
-                        [[[self viewForGroup:catGroup] textField] 
setNeedsDisplay:YES];
+                    for (BDSKGroup *catGroup in [group categoryGroups]) {
+                        NSTextField *textField = [[self viewForGroup:catGroup] 
textField];
+                        [textField setObjectValue:[catGroup name]];
+                        [textField setNeedsDisplay:YES];
+                    }
                 }
             }
         } else if ([key isEqualToString:BDSKBTStyleKey]) {

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