diff options
author | culler <culler> | 2020-10-25 20:11:47 (GMT) |
---|---|---|
committer | culler <culler> | 2020-10-25 20:11:47 (GMT) |
commit | fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7 (patch) | |
tree | 482bb5fc0213d9af3461b90f425773f5f7ce8852 | |
parent | 9a4cae2ef7fa38418385bd4d35e0095f3e59cdc2 (diff) | |
download | tk-fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7.zip tk-fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7.tar.gz tk-fd9301ebb217fdc1bfc1726a2ccdb450bbfc89f7.tar.bz2 |
Adjustment for Sierra.
-rw-r--r-- | macosx/tkMacOSXDialog.c | 2 |
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 ]; |