diff options
Diffstat (limited to 'Mac/PythonLauncher/MyDocument.m')
| -rwxr-xr-x | Mac/PythonLauncher/MyDocument.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m index 5acc2dcc90..86112c4b15 100755 --- a/Mac/PythonLauncher/MyDocument.m +++ b/Mac/PythonLauncher/MyDocument.m @@ -121,8 +121,8 @@ return YES; } else { [self run]; - [self close]; - return NO; + [self performSelector:@selector(close) withObject:nil afterDelay:0.0]; + return YES; } } |
