Revert\Undo failed Command
Answered
I have undoable command that may be reverted by Ctrl-Z. When i execute command and catch some error i need to revert all my changes. Can i do it programmatically?
Please sign in to leave a comment.
I found solution with confirmationDialog, but i already show another dialog with my info. Two dialog in a row seems like overhead.
Solved with
UndoConfirmationPolicy.DO_NOT_REQUEST_CONFIRMATION