diff --git a/ChangeLog b/ChangeLog index 70bb07577..3fd60776f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-04-19 00:23-EDT Gregory John Casamento + + * Source/NSApplication.m: Make certain that a sheet is always placed + above the window it's supposed to appear relative to. Change + to runModalForWindow:relativeToWindow:. + 2009-04-18 23:21-EDT Gregory John Casamento * Source/NSScrollView.m: If the scrollview has scrollers, diff --git a/Source/NSApplication.m b/Source/NSApplication.m index 9a6dffdaf..df6de288d 100644 --- a/Source/NSApplication.m +++ b/Source/NSApplication.m @@ -1849,6 +1849,8 @@ See -runModalForWindow: relativeToWindow: (NSWindow *)docWindow { // FIXME + [theWindow orderWindow: NSWindowAbove + relativeTo: [docWindow windowNumber]]; return [self runModalForWindow: theWindow]; }