mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
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:
parent
ce9c9d1387
commit
a1bd9d4cf5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue