Revision: 15087
http://sourceforge.net/p/skim-app/code/15087
Author: hofman
Date: 2025-04-06 15:46:51 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
Only set title in init
Modified Paths:
--------------
trunk/SKFontWell.m
Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m 2025-04-06 15:41:29 UTC (rev 15086)
+++ trunk/SKFontWell.m 2025-04-06 15:46:51 UTC (rev 15087)
@@ -60,7 +60,6 @@
@interface SKFontWell ()
- (void)changeActive:(id)sender;
-- (void)fontChanged;
@end
@@ -82,7 +81,7 @@
- (void)commonInit {
if ([self font] == nil)
[self setFont:[NSFont userFontOfSize:0.0]];
- [self fontChanged];
+ [self setTitle:[NSString stringWithFormat:@"%@ %.0f", [[self font]
displayName], [[self font] pointSize]]];
[[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.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit