Revision: 29094
          http://sourceforge.net/p/bibdesk/svn/29094
Author:   hofman
Date:     2025-04-06 15:47:28 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
Only set title in init

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

Modified: trunk/bibdesk/BDSKFontWell.m
===================================================================
--- trunk/bibdesk/BDSKFontWell.m        2025-04-06 15:42:10 UTC (rev 29093)
+++ trunk/bibdesk/BDSKFontWell.m        2025-04-06 15:47:28 UTC (rev 29094)
@@ -57,7 +57,6 @@
 
 @interface BDSKFontWell (BDSKPrivate)
 - (void)changeActive:(id)sender;
-- (void)fontChanged;
 @end
 
 
@@ -72,7 +71,7 @@
 - (void)commonInit {
     if ([self font] == nil)
         [self setFont:[NSFont systemFontOfSize:0.0]];
-    [self fontChanged];
+    [self setTitle:[NSString stringWithFormat:@"%@ %ld", [[self font] 
localizedFontName], (long)[self fontSize]]];
     [[self cell] setShowsStateBy:NSNoCellMask];
     [[self cell] setAction:@selector(changeActive:)];
     [[self cell] setTarget:self];

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