Edit -> Undo

This command allows you to undo the previous actions. Position your mouse pointer on the undo menu command and hold it there briefly. The tooltip opens and shows you the actions you can undo by clicking the menu item. You can undo up to 30 actions.

The standard toolbar and programing toolbar also contain an icon for this menu command.