diff options
author | Kevin Walzer <kw@codebykevin.com> | 2017-07-03 05:50:55 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2017-07-03 05:50:55 (GMT) |
commit | a2d0ee1d83897b9b5d95ea1e6182cdc2448e9425 (patch) | |
tree | 1dc8656f85738cb4030c9510d62fad4d2d54aa58 /macosx | |
parent | 4abdac47b667157cd88896d18468ea3c25235b00 (diff) | |
download | tk-a2d0ee1d83897b9b5d95ea1e6182cdc2448e9425.zip tk-a2d0ee1d83897b9b5d95ea1e6182cdc2448e9425.tar.gz tk-a2d0ee1d83897b9b5d95ea1e6182cdc2448e9425.tar.bz2 |
Fix last crashing bug for save dialogs on macOS
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXDialog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDialog.c b/macosx/tkMacOSXDialog.c index 9d78ce6..5bfcaf1 100644 --- a/macosx/tkMacOSXDialog.c +++ b/macosx/tkMacOSXDialog.c @@ -915,7 +915,6 @@ Tk_GetSaveFileObjCmd( } else { [savepanel setNameFieldStringValue:@""]; } - [savepanel setNameFieldStringValue:filename]; [savepanel beginSheetModalForWindow:parent completionHandler:^(NSInteger returnCode) { [NSApp tkFilePanelDidEnd:savepanel |