Key Command issue

I’m trying to set up a macro to toggle the channel strip EQ and the filter EQ on/off from the mixer view simultaneously.
The Views/Filters Gain I’ve assigned key G but when I press this key I get
“The key combination “G” assigned to the command “Views/Filters/Gain” is not currently available”
When I press “G” in the mixer view “Pre” is toggled Hidden/Shown.

I’m sure this must be a simple task to achieve but it’s stumping me and would be grateful for some help
Cheers