Turned on the clear button in manage authors.

This commit is contained in:
Charles Haley 2022-07-16 15:30:00 +01:00
parent 547f383634
commit c8646d8d32

View File

@ -57,7 +57,9 @@ class EditColumnDelegate(QItemDelegate):
editor.update_items_cache(self.completion_data) editor.update_items_cache(self.completion_data)
return editor return editor
from calibre.gui2.widgets import EnLineEdit from calibre.gui2.widgets import EnLineEdit
return EnLineEdit(parent) editor = EnLineEdit(parent)
editor.setClearButtonEnabled(True)
return editor
class EditAuthorsDialog(QDialog, Ui_EditAuthorsDialog): class EditAuthorsDialog(QDialog, Ui_EditAuthorsDialog):