Disable inline renaming in folder tree

Is it possible to disable inline renaming in the folder tree while keeping it enabled for the file lister?
The setting for slow_dblclk_rename disables it for all.

You could stop F2 doing anything in the tree, but I don't know of a way to prevent a long click from initiating a rename there.