Details
Description
I have created a "main.ui" in Qt Creator, and when I use the "pyside2-uic.exe" tool to convert the file to "main.py", there is a bug in the converted result. See the following as example:
// def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "Segmentation Inspector", None, -1)) self.cbColorDepth.setItemText(0, QtWidgets.QApplication.translate("MainWindow", "Colour", None, -1)) self.cbColorDepth.setItemText(1, QtWidgets.QApplication.translate("MainWindow", "Gray scale", None, -1)) self.label_3.setText(QtWidgets.QApplication.translate("MainWindow", "Camera side:", None, -1)) self.cbCameraSide.setItemText(2, QtWidgets.QApplication.translate("MainWindow", "Left", None, -1)) self.cbCameraSide.setItemText(3, QtWidgets.QApplication.translate("MainWindow", "Right", None, -1))
The first QComboBox ("cbColorDepth") has two items, correctly assigned positions "0" and "1".
The second QComboBox ("cbCameraSide") also has two items, but these are incorrectly assigned positions "2" and "3"! Correct positions should be "0" and "1".
It looks like the "positions counter" just continues, instead of starting over again, when assigning values for the second combobox.
This was not a problem before I upgraded to latest version. Unfortunately I can't recall which version I had before.