Revision: 16051
http://sourceforge.net/p/skim-app/code/16051
Author: hofman
Date: 2026-02-10 17:04:04 +0000 (Tue, 10 Feb 2026)
Log Message:
-----------
observe NSWindowDidEndSheetNotification on sheetParent
Modified Paths:
--------------
trunk/SKTypeSelectHelper.m
Modified: trunk/SKTypeSelectHelper.m
===================================================================
--- trunk/SKTypeSelectHelper.m 2026-02-10 16:59:31 UTC (rev 16050)
+++ trunk/SKTypeSelectHelper.m 2026-02-10 17:04:04 UTC (rev 16051)
@@ -177,7 +177,7 @@
if (processing == NO) {
[[NSNotificationCenter defaultCenter] removeObserver:self];
if ([[NSApp keyWindow] isSheet])
- [[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(typeSelectCleanTimeout:)
name:NSWindowDidEndSheetNotification object:[NSApp keyWindow]];
+ [[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(typeSelectCleanTimeout:)
name:NSWindowDidEndSheetNotification object:[[NSApp keyWindow] sheetParent]];
else
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(typeSelectCleanTimeout:) name:NSWindowWillCloseNotification
object:[NSApp keyWindow]];
if ([editor delegate])
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