Commit c72919f1 authored by Clément Fauconnier's avatar Clément Fauconnier

let destroyEditor() handle editor closing

parent 38fe327e
...@@ -1545,7 +1545,7 @@ void UBDocumentTreeItemDelegate::commitAndCloseEditor() ...@@ -1545,7 +1545,7 @@ void UBDocumentTreeItemDelegate::commitAndCloseEditor()
QLineEdit *lineEditor = qobject_cast<QLineEdit*>(sender()); QLineEdit *lineEditor = qobject_cast<QLineEdit*>(sender());
if (lineEditor) { if (lineEditor) {
emit commitData(lineEditor); emit commitData(lineEditor);
emit closeEditor(lineEditor); //emit closeEditor(lineEditor);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment