Notifications
Clear all
[Closed] how to cancel save file,with filePreSave callback?
2 Replies
1 Reply
you can’t cancel file saving. On presave stage the file is already open for save and setting #readonly flag doesn’t not help either.
you can make a copy of the file, and on #postsave replace the file with the copy.