Ouch. Does File -> Revert work? I don't use the function much so it might restrict it to the last thing in history.