<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setModelData(self, editor, model, index):
 """Updates the model after changing data in the editor. Args: editor (QtGui.QComboBox):
 The current editor for the item. Should be a `QtGui.QComboBox` as defined in `createEditor`. model (ColumnDtypeModel):
 The model which holds the displayed data. index (QtCore.QModelIndex):
 The index of the current item of the model. """

        model.setData(index, editor.itemText(editor.currentIndex()))