mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-13 23:45:12 +01:00
Fix #1701789 [Preferences for Edit book sidebar on Linux](https://bugs.launchpad.net/calibre/+bug/1701789)
This commit is contained in:
parent
f88ad60414
commit
467d35d1d0
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,7 @@ def __init__(self, gui, initial_panel=None):
|
|||
cl.item(0).setSelected(True)
|
||||
w, h = cl.sizeHintForColumn(0), 0
|
||||
for i in xrange(cl.count()):
|
||||
h = max(h, cl.sizeHintForRow(i))
|
||||
h = cl.sizeHintForRow(i)
|
||||
cl.item(i).setSizeHint(QSize(w, h))
|
||||
|
||||
cl.setMaximumWidth(cl.sizeHintForColumn(0) + 35)
|
||||
|
|
|
|||
Loading…
Reference in a new issue