mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-01 03:35:08 +02:00
DeviceBooksView does not need auto complete.
This commit is contained in:
parent
0e8cc35f18
commit
768979168c
1 changed files with 3 additions and 0 deletions
|
|
@ -806,6 +806,9 @@ def __init__(self, parent):
|
|||
self.setDragDropMode(self.NoDragDrop)
|
||||
self.setAcceptDrops(False)
|
||||
|
||||
def set_database(self, db):
|
||||
self._model.set_database(db)
|
||||
|
||||
def resizeColumnsToContents(self):
|
||||
QTableView.resizeColumnsToContents(self)
|
||||
self.columns_resized = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue