From c72919f14e9409de9c1345480eb8877c18c22b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Fri, 23 Nov 2018 15:42:47 +0100 Subject: [PATCH] let destroyEditor() handle editor closing --- src/document/UBDocumentController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document/UBDocumentController.cpp b/src/document/UBDocumentController.cpp index c03dbb4b..96b75d2d 100644 --- a/src/document/UBDocumentController.cpp +++ b/src/document/UBDocumentController.cpp @@ -1545,7 +1545,7 @@ void UBDocumentTreeItemDelegate::commitAndCloseEditor() QLineEdit *lineEditor = qobject_cast(sender()); if (lineEditor) { emit commitData(lineEditor); - emit closeEditor(lineEditor); + //emit closeEditor(lineEditor); } }