...
original commit: 08b2d560f15bcd9afbc9a3b8d958b6297b29a9e4
This commit is contained in:
parent
ad5e0e4195
commit
189a8c49e0
|
@ -237,8 +237,9 @@
|
|||
(public
|
||||
[save-as
|
||||
(opt-lambda ([format 'same])
|
||||
(let ([file (parameterize ([finder:dialog-parent-parameter this])
|
||||
(finder:put-file))])
|
||||
(let* ([name (send (get-editor) get-filename)]
|
||||
[file (parameterize ([finder:dialog-parent-parameter this])
|
||||
(finder:put-file name))])
|
||||
(when file
|
||||
(send (get-editor) save-file file format))))])
|
||||
(inherit get-menu-item%)
|
||||
|
|
Loading…
Reference in New Issue
Block a user