Revision: 26544
          http://sourceforge.net/p/bibdesk/svn/26544
Author:   hofman
Date:     2021-08-02 16:48:28 +0000 (Mon, 02 Aug 2021)
Log Message:
-----------
Don't call font change handler after adding a table column, make sure font is 
updated in the cell when creating the column

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

Modified: trunk/bibdesk/BDSKMainTableView.m
===================================================================
--- trunk/bibdesk/BDSKMainTableView.m   2021-08-02 16:43:30 UTC (rev 26543)
+++ trunk/bibdesk/BDSKMainTableView.m   2021-08-02 16:48:28 UTC (rev 26544)
@@ -320,6 +320,9 @@
             break;
     }
     
+    if ([self fontNamePreferenceKey] && [self fontSizePreferenceKey] && [self 
font] && [(NSCell *)cell type] == NSTextCellType)
+        [cell setFont:[self font]];
+    
     return cell;
 }
 - (NSView *)newViewForColumnType:(NSInteger)columnType {
@@ -514,7 +517,6 @@
         }
     }
     
-    [self tableViewFontChanged];
     [self updateColumnsMenu];
 }
 

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