Use the items on the Pattern tab > History panel to undo and redo the edits made to the active Pattern.