Avionics turn off and only go on if right mouse button held

I had this the other day with my bravo on the 152. Only would come on with right click of mouse.

Turned out I had the master avionics switch off which was programmed to the bravo.