file-picker.operations: use set-file-contents.
parent
b000f124a0
commit
c8e02d880e
|
@ -5,7 +5,7 @@ kernel locals ui.commands ui.operations ;
|
|||
IN: file-picker.operations
|
||||
|
||||
:: save-as ( data -- )
|
||||
"" save-file-dialog [ binary [ data write ] with-file-writer ] when* ;
|
||||
"" save-file-dialog [ data binary set-file-contents ] when* ;
|
||||
|
||||
! Right-click a byte-array presentation to open the Save As window.
|
||||
[ byte-array? ] \ save-as H{
|
||||
|
|
Loading…
Reference in New Issue