summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2020-10-25 20:11:47 (GMT)
committerculler <culler>2020-10-25 20:11:47 (GMT)
commitfd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7 (patch)
tree482bb5fc0213d9af3461b90f425773f5f7ce8852
parent9a4cae2ef7fa38418385bd4d35e0095f3e59cdc2 (diff)
downloadtk-fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7.zip
tk-fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7.tar.gz
tk-fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7.tar.bz2
Adjustment for Sierra.
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 05cdd95..40f4b12 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -388,7 +388,7 @@ static NSInteger showOpenSavePanel(
}];
modalReturnCode = [panel runModal];
} else {
- modalReturnCode = [NSApp runModalForWindow:panel];
+ modalReturnCode = [panel runModal];
[NSApp tkFilePanelDidEnd:panel
returnCode:modalReturnCode
contextInfo:callbackInfo ];