From a85ba0c9c49405d89736334e42f150cde9534539 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 18 Nov 2021 22:45:39 +0100 Subject: [PATCH] Fix editFinished signal --- src/fime/util.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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()