Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.2.1
-
None
Description
When transferring the combo box, uic.exe generates the following code: comboLanguage->clear();
сomboLanguage->insertItems(0, QStringList()
<< QApplication::translate("PropertiesApplication", "Russian", 0)
<< QApplication::translate("PropertiesApplication", "English", 0)
);
ie, when the call is transferred, the model QComboBox clean and brings new text values. Thus combobox sends a signal currentIndexChanged (int) twice with the values 1 and 0, and does not save the current value. The only option is to keep the individual values combo boxes and put them manually after the transfer. What to do if a large amount?