QWizard and default property
I have a class derived from QWizard.
In the constructor for this class I have the following line
In my wizard page I have the following
But when I retrieve the field value it is using the current index of the combox box and not the current text
QString s = field("toolSystemComboBox").toString(); // makes s equal the position in the combo box
can anyone suggest what I have missed?
Thanks for the reply, however I am trying to set the default property for combo boxes to currentText
Unfortunately this gives me the same result
This is weird. Could you show me the source code please? so I can test it and try to figure it out.