* 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28195 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2009-04-10 14:25:20 +00:00
parent 77635ad0d1
commit bff13e455a
2 changed files with 8 additions and 0 deletions

View file

@ -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: