I have two Qcomboboxes in my Ui_MainWindow. How do I determine which of them is triggering the def onCurrentIndexChanged(self, index):??? When I printed self.class.name it returns "Ui_MainWindow"...I want the name of the Qcombobox within that window???
def onCurrentIndexChanged(self, index):
print(self.__class__.__name__)
id_ = self.cboDebtor.itemData(index, IdRole)
# or
# id_ = self.model.item(index).data(IdRole)