Don't order out until after modla loop has terminated.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5328 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-11-29 17:41:11 +00:00
parent ce9c9d1387
commit a1bd9d4cf5

View file

@ -241,7 +241,6 @@ static GSAlertPanel *gmodelAlertPanel = nil;
(unsigned)sender);
}
active = NO;
[self orderOut: self];
[[NSApplication sharedApplication] stopModal];
}
@ -410,6 +409,7 @@ static GSAlertPanel *gmodelAlertPanel = nil;
{
active = YES;
[NSApp runModalForWindow: self];
[self orderOut: self];
return result;
}