Undo is not working 2.8!
You have to enable: Global Undo
For 2.8x and 2.9.
Edit &gt; User preferences &gt; System &gt; Memory &amp; Limits: Global Undo

For 2.79
Just go to Edit &gt; Preferences &gt; System &amp; Setting, and check the Global Undo in Memory and Limits