I think Ted has genuine feelings for her, but maybe because she was Don's protegee. Let's remember, he was obsessed with Don, and surely, he still is. He looked happy when Peggy said "we broke up", but then, all he cared about was work. He wants to have her under his wing to steal her away from Don, or something. Once…