Visual Studio opens twice

In the UE editor I double click my c++ class to open the project inside Visual Studio 2015.

Two Visual Studios are opened, one with the project, as expected, the other just with the files of the double clicked class.

How do I prevent the 2nd Visual Studio to open?

This is not happening any more. I have a new installation, so I have no idea what caused the problem.