summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/BuildScript/bpo-44828-filedialog-crash-monterey.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/BuildScript/bpo-44828-filedialog-crash-monterey.patch b/Mac/BuildScript/bpo-44828-filedialog-crash-monterey.patch
index 1d06329..0591492 100644
--- a/Mac/BuildScript/bpo-44828-filedialog-crash-monterey.patch
+++ b/Mac/BuildScript/bpo-44828-filedialog-crash-monterey.patch
@@ -18,7 +18,7 @@
if (returnCode >= NSAlertFirstButtonReturn) {
Tcl_Obj *resultObj = Tcl_NewStringObj(alertButtonStrings[
-@@ -350,49 +350,41 @@
+@@ -350,49 +350,42 @@
FilePanelCallbackInfo *callbackInfo)
{
NSInteger modalReturnCode;
@@ -85,6 +85,7 @@
- [panel close];
+ returnCode:modalReturnCode
+ contextInfo:callbackInfo ];
++ [parent endSheet:panel];
}
+ } else {
+ modalReturnCode = [panel runModal];