Revision: 29095
          http://sourceforge.net/p/bibdesk/svn/29095
Author:   hofman
Date:     2025-04-06 16:05:06 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
Initialize showsStateBy in cell class

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

Modified: trunk/bibdesk/BDSKFontWell.m
===================================================================
--- trunk/bibdesk/BDSKFontWell.m        2025-04-06 15:47:28 UTC (rev 29094)
+++ trunk/bibdesk/BDSKFontWell.m        2025-04-06 16:05:06 UTC (rev 29095)
@@ -72,7 +72,6 @@
     if ([self font] == nil)
         [self setFont:[NSFont systemFontOfSize:0.0]];
     [self setTitle:[NSString stringWithFormat:@"%@ %ld", [[self font] 
localizedFontName], (long)[self fontSize]]];
-    [[self cell] setShowsStateBy:NSNoCellMask];
     [[self cell] setAction:@selector(changeActive:)];
     [[self cell] setTarget:self];
     [self registerForDraggedTypes:@[BDSKNSFontPanelDescriptorsPboardType, 
BDSKNSFontPanelFamiliesPboardType]];
@@ -304,6 +303,7 @@
 - (void)commonInit {
     [self setBezelStyle:NSShadowlessSquareBezelStyle]; // this is mainly to 
make it selectable
     [self setButtonType:NSPushOnPushOffButton];
+    [self setShowsStateBy:NSNoCellMask];
     [self setState:NSOffState];
 }
  

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