Revision: 15086
http://sourceforge.net/p/skim-app/code/15086
Author: hofman
Date: 2025-04-06 15:41:29 +0000 (Sun, 06 Apr 2025)
Log Message:
-----------
Set internal action and target on cell to be clearer
Modified Paths:
--------------
trunk/SKFontWell.m
Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m 2025-04-06 08:57:03 UTC (rev 15085)
+++ trunk/SKFontWell.m 2025-04-06 15:41:29 UTC (rev 15086)
@@ -84,8 +84,8 @@
[self setFont:[NSFont userFontOfSize:0.0]];
[self fontChanged];
[[self cell] setShowsStateBy:NSNoCellMask];
- [super setAction:@selector(changeActive:)];
- [super setTarget:self];
+ [[self cell] setAction:@selector(changeActive:)];
+ [[self cell] setTarget:self];
[self registerForDraggedTypes:@[SKNSFontPanelDescriptorsPboardType,
SKNSFontPanelFamiliesPboardType, NSPasteboardTypeColor]];
}
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