I use ctrl+click a lot to quickly select segments of edge loops in edit mode, but sometimes this results in accidentally clicking other objects outside of the one I'm editing (which means I've selected both the object I'm editing and some other object).
This gets kind of annoying because it interferes with my view any time I switch to wireframe viewport mode, not to mention I don't want to later accidentally affect objects I didn't notice I selected.
Is there any way to prevent selecting objects while in edit mode?