Unsolved PyQT5 Combobox re-sort??
-
I am trying to figure out how to resort my combobox with PYQT5 and python when a new item is added.
I can get it to add, but it will not sort.
I am just doing a very basic example to get it functioning
self.comboloadsystem.addItem(favfile + ".xml")
I have the combobox set to add items alphabetically, but I am assuming I will need to do something grammatically.
I have not found a refresh option.
I have tried to count the items and put them in an array and re-add with .addItems(array) but it still puts it in the same place.
any suggestions?