If you glance at a file with Quick Look, and then decide you want to edit it, chances are you will close the Quick Look window and then reopen the file you wanted to edit.
However, all that you have to do is invoke one of two commands with Quick Look still open -- Command-O or Command-Down Arrow -- and you can edit the chosen file directly from the Quick Look view.

