mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 04:05:34 +00:00
-call orderOut: to dismiss the alert sheet
This commit is contained in:
1 parent
8bc4a287a6
commit
8fd5f30b87
1 file changed
+3
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user