mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix leaving bits of the background selection sometimes visible when editing sort and link columns. This change makes the editor widget fill the underlying cell.
As an aside, shouldn't EnLineEdit do setClearButtonEnabled(True) to be like other widgets?
This commit is contained in:
parent
b6463f7cc5
commit
86414a17e6
@ -55,11 +55,9 @@ class EditColumnDelegate(QItemDelegate):
|
||||
editor = EditWithComplete(parent)
|
||||
editor.set_separator(None)
|
||||
editor.update_items_cache(self.completion_data)
|
||||
else:
|
||||
from calibre.gui2.widgets import EnLineEdit
|
||||
editor = EnLineEdit(parent)
|
||||
return editor
|
||||
return QItemDelegate.createEditor(self, parent, option, index)
|
||||
return editor
|
||||
from calibre.gui2.widgets import EnLineEdit
|
||||
return EnLineEdit(parent)
|
||||
|
||||
|
||||
class EditAuthorsDialog(QDialog, Ui_EditAuthorsDialog):
|
||||
|
Loading…
x
Reference in New Issue
Block a user