summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDialog.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2020-05-02 02:36:48 (GMT)
committerKevin Walzer <kw@codebykevin.com>2020-05-02 02:36:48 (GMT)
commit61ab162b6375218986ca3883d6b991fa27717da6 (patch)
tree78f000ffbac32fe2a56f7582d4b79720aa1ad576 /macosx/tkMacOSXDialog.c
parentf8e6b44392467bc7a6d6aba8e4f775517d3686ac (diff)
downloadtk-61ab162b6375218986ca3883d6b991fa27717da6.zip
tk-61ab162b6375218986ca3883d6b991fa27717da6.tar.gz
tk-61ab162b6375218986ca3883d6b991fa27717da6.tar.bz2
Restore sheets to file dialogs on macOS
Diffstat (limited to 'macosx/tkMacOSXDialog.c')
-rw-r--r--macosx/tkMacOSXDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c
index 10a756d..4ff0f89 100644
--- a/macosx/tkMacOSXDialog.c
+++ b/macosx/tkMacOSXDialog.c
@@ -343,7 +343,7 @@ static NSInteger showOpenSavePanel(
{
NSInteger modalReturnCode;
- if (parent && ![parent attachedSheet] && [NSApp macMinorVersion] < 15) {
+ if (parent && ![parent attachedSheet]) {
[panel beginSheetModalForWindow:parent
completionHandler:^(NSInteger returnCode) {
[NSApp tkFilePanelDidEnd:panel