You must have hit that key by accident. I can turn my outline on and off with my keybind (not sure what default is, you will have to look.) If you are afraid of hitting it again then maybe just clear that bind or put an unused key there instead.