diff --git a/src/fime/util.py b/src/fime/util.py index b3738a0..fdc32c5 100644 --- a/src/fime/util.py +++ b/src/fime/util.py @@ -27,9 +27,6 @@ class EditStartedDetector(QtWidgets.QStyledItemDelegate): def createEditor(self, parent, option, index): editor = super().createEditor(parent, option, index) + editor.editingFinished.connect(self.editFinished) self.editStarted.emit() return editor - - def setModelData(self, editor, model, index): - super().setModelData(editor, model, index) - self.editFinished.emit()