-call orderOut: to dismiss the alert sheet

This commit is contained in:
Darrell Walisser committed 2012-04-28 20:28:09 -04:00
1 parent 8bc4a287a6
commit 8fd5f30b87
1 file changed
+3
+3
View File
@@ -631,7 +631,10 @@ CPCriticalAlertStyle = 2;
- (@action)_takeReturnCodeFrom:(id)aSender
{
if ([_window isSheet])
{
[CPApp endSheet:_window returnCode:[aSender tag]];
[_window orderOut:nil];
}
else
{
[CPApp abortModal];