By scrolling middle button(scrolling wheel) on your mouse, you can undo your recent actions, so it's possible you did that, by mistake.