Plugged in my laptop and this happened. No idea why
F3 toggles the level editor, so I suspect you pressed that
Ah, oops!