I agree
I think he realised that that was what she needed to hear from him because he had been evasive. And I think he always intended to marry her, the situation just gave him a push. What he said when he proposed was so telling that he was willing to figure things out as long as she was.
Guh, I just love those two