condescending

(adj) showing a patronizing attitude or behavior
Ophelia was really smart and didn't appreciate that her professor, although also very smart, talked condescendingly to her.