Bud Spencer (?) puts on or takes off his glasses as a sign that he is going to fist fight

I seem to remember it was Bud Spencer who puts on or takes off his round glasses before getting into a fight. It was a leitmotiv, so it happens more than once in the movie, which would be a comedy Spaghetti Western or a comedy set it the actual time the movie was made, I’m not sure, from the late 1960s-early 1980s. Perhaps it’s not Bud Spencer and I remember wrong it’s him. Does anyone have any idea what movie could be?

I found it, it’s It Can Be Done, Amigo (1972)

It is Bud Spencer; he puts his glasses on before he fights. I was confused because I was told it was a Trinity movie!