Hello together,
I'm saving an XML-File with all set values, like :"antialiasing: 4x" and so on.
This "4x" in XML-File will be read out at application start, and should be set then to the combobox.
I tried to do "setCurrentItem("4x")" or "setData("4x") but the value in dropdown didn't change.
My workarround solution now is, to run through the combobox-items, check's the actual text on index X and compare this text with the saved XML-File Text, if they are equal, I got my index.
For 30 or more comboBox's, this is in my opinion not the fastes variant.
Best regards
Lars