Answer the question
In order to leave comments, you need to log in
Why doesn't QtCreator save the QComboBox's currentText property?
There are a bunch of comboboxes on the form. I wanted one of them to have the default element, for example, the third element from the list. I was in the design editor and changed the currentText property to the one I needed, everything was saved, I ran it many times, changed the code, etc. - worked.
But when I reload QtCreator, this property resets back to the first element of my ComboBox.
I know that you can manually change the currentText in main, but this will add extra code to the sources ...
How to fix this? What the hell?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question