How to undelete post?

I accidently deleted my post. Can I undo this?

(post deleted by author)

I just deleted the above test post and yes you can, at least for a while. Don’t know for how long the button is there:

EDIT: 2 hours later the button is gone, don’t know when exactly