From 8bb2d49267f47437728adb7693a664cd3e0f6ec9 Mon Sep 17 00:00:00 2001 From: Randall Luecke Date: Sat, 31 Jul 2010 20:20:18 -0500 Subject: [PATCH] Sheets should be assigned to the platform window of the window it is attached to. --- AppKit/CPApplication.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPApplication.j b/AppKit/CPApplication.j index 7958fc45f..ad729b0f5 100644 --- a/AppKit/CPApplication.j +++ b/AppKit/CPApplication.j @@ -861,6 +861,7 @@ CPRunContinuesResponse = -1002; } [aWindow orderFront:self]; + [aSheet setPlatformWindow:[aWindow platformWindow]]; [aWindow _attachSheet:aSheet modalDelegate:aModalDelegate didEndSelector:aDidEndSelector contextInfo:aContextInfo]; }