Dont think it was ever stated in the novel how they got engaged. But I agree with you, my impression is also that it was one-sided love.
Maybe YLT saw her and fell in love, then proposed marriage. And you dont ask the girl, you ask her parents (or sifu). They agreed and they got engaged.