commit | f2ef92cee70de65f6f963fc4ffd3ac5729a19d90 | [log] [tgz] |
---|---|---|
author | Ronald Oussoren <ronaldoussoren@mac.com> | Fri May 02 21:42:35 2008 +0000 |
committer | Ronald Oussoren <ronaldoussoren@mac.com> | Fri May 02 21:42:35 2008 +0000 |
tree | 000d4072b1cc224b56048ce137fd8090113bc21d | |
parent | 6780a9dd9f8e8c79b9215e1f6e98cb5f711561bc [diff] [blame] |
Fix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard This fixes both Python Launchar and the terminalcommand module.
diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m index 5acc2dc..86112c4 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; } }