Register now or log in to join your professional community.
Yes.
By default it's unassigend but you can assign it by going to the history palette and on the top right click on the small arrow and choosing history options > make layer visibility changes undoable .. make sure it's checked. Voila!