mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 22:13:36 +02:00
...
This commit is contained in:
parent
ec9e1b825c
commit
a1636eb24e
1 changed files with 5 additions and 0 deletions
|
|
@ -626,6 +626,11 @@ def __init__(self, listener, opts, actions, parent=None):
|
|||
self.status_bar.tag_view_button.toggle()
|
||||
|
||||
self._add_filesystem_book = Dispatcher(self.__add_filesystem_book)
|
||||
v = self.library_view
|
||||
if v.model().rowCount(None) > 1:
|
||||
v.resizeRowToContents(0)
|
||||
height = v.rowHeight(0)
|
||||
self.library_view.verticalHeader().setDefaultSectionSize(height)
|
||||
|
||||
|
||||
def resizeEvent(self, ev):
|
||||
|
|
|
|||
Loading…
Reference in a new issue