Fix editFinished signal
This commit is contained in:
parent
75af17d9b2
commit
a85ba0c9c4
@ -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()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user