I have this combobox.
klients = qtw.QComboBox(self)
klients.insertItem(5, "x")
klients.insertItem(19, "y")
when I later write this code in button clicked event:
print(klients.currentIndex())
It prints 0 or 1 instead of 5 or 19. How can I achieve it prints 5 or 19?