Praise be to Allaah.
Yes, that will solve the problem because it says in the saheeh hadeeth that the Prophet SAWS (peace and blessings of Allaah be upon him) said: “None of you should propose to a woman when his brother has already proposed, until the first one gives up the idea of marrying her or gives him permission, then he may propose to her.”
I asked Shaykh Ibn ‘Uthaymeen (may Allaah have mercy on him) about this matter and this evidence, and his reply was in accordance with the apparent meaning of the hadeeth.
(On this basis, if two men have proposed to her then she should decide which of them she wants to marry)
Sheikh Muhammed Salih Al-Munajjid