Disable Open/Close all Folders with click+ctrl/cmd

When selecting the folder icon and ctrl/cmd it opens or closes every session in the template. Is there a way to disable this function? It often happens by accident and in a large session leads to lots of extra busy work.