Fix editFinished signal

This commit is contained in:
Fabian 2021-11-18 22:45:39 +01:00
parent 75af17d9b2
commit a85ba0c9c4

View File

@ -27,9 +27,6 @@ class EditStartedDetector(QtWidgets.QStyledItemDelegate):
def createEditor(self, parent, option, index): def createEditor(self, parent, option, index):
editor = super().createEditor(parent, option, index) editor = super().createEditor(parent, option, index)
editor.editingFinished.connect(self.editFinished)
self.editStarted.emit() self.editStarted.emit()
return editor return editor
def setModelData(self, editor, model, index):
super().setModelData(editor, model, index)
self.editFinished.emit()