let destroyEditor() handle editor closing

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent 38fe327e80
commit c72919f14e
  1. 2
      src/document/UBDocumentController.cpp

@ -1545,7 +1545,7 @@ void UBDocumentTreeItemDelegate::commitAndCloseEditor()
QLineEdit *lineEditor = qobject_cast<QLineEdit*>(sender());
if (lineEditor) {
emit commitData(lineEditor);
emit closeEditor(lineEditor);
//emit closeEditor(lineEditor);
}
}

Loading…
Cancel
Save