"I have some acquaintance with depression myself, and, believe me, I know it's no picnic. Is Connie taking something for it?"
"Well, I hope that works out for her. My own drug didn't work out so well for me."
"You have to give those drugs some time," he said.
"Right, so everybody said. Especially Dad, who's kind of on the front lines with me. He was very sorry to see those good times go. But I was glad to have my head back, such as it is." (3.5.112-114; 120-122)
Let's focus on the larger theme of Walter and Patty's relationship here: that Walter knows what's best for Patty better than she does. In this case, it's pretty clearly selfish on his part, being less interested in relieving her depression than he is in removing it from his daily life.