diff --git a/ChangeLog b/ChangeLog index cef338383..1d06e2b82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-04-10 10:24-EDT Gregory John Casamento + + * Source/NSAlert.m: in the method _initWithoutGModel add a call + to setLevel: to set the level to NSModalPanelWindowLevel. This was + not previously being done and was causing alert panels to get lost + behind other application windows. + 2009-04-10 01:32-EDT Gregory John Casamento * Source/NSMenuView.m: Removed adjustment to Y coords in the diff --git a/Source/NSAlert.m b/Source/NSAlert.m index be9ee4f10..ccc1db4a7 100644 --- a/Source/NSAlert.m +++ b/Source/NSAlert.m @@ -351,6 +351,7 @@ setControl(NSView* content, id control, NSString *title) return nil; [self setTitle: @" "]; + [self setLevel: NSModalPanelWindowLevel]; content = [self contentView]; // we're an ATTENTION panel, therefore: