mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 15:21:57 +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
38b6a26689
commit
906da5937b
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,6 @@ static GSAlertPanel *gmodelAlertPanel = nil;
|
||||||
(unsigned)sender);
|
(unsigned)sender);
|
||||||
}
|
}
|
||||||
active = NO;
|
active = NO;
|
||||||
[self orderOut: self];
|
|
||||||
[[NSApplication sharedApplication] stopModal];
|
[[NSApplication sharedApplication] stopModal];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -410,6 +409,7 @@ static GSAlertPanel *gmodelAlertPanel = nil;
|
||||||
{
|
{
|
||||||
active = YES;
|
active = YES;
|
||||||
[NSApp runModalForWindow: self];
|
[NSApp runModalForWindow: self];
|
||||||
|
[self orderOut: self];
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue