Reputation: 348
How can I find a QString in a QComboBox? I want to get the index of the element in the combobox that's corresponding to my string. Is there a native method?
Thanks in advance.
Upvotes: 3
Views: 781
Reputation: 1074
I think that the findText method is what you're looking for
Upvotes: 6