mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 01:14:36 +02: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)
|
cl.item(0).setSelected(True)
|
||||||
w, h = cl.sizeHintForColumn(0), 0
|
w, h = cl.sizeHintForColumn(0), 0
|
||||||
for i in xrange(cl.count()):
|
for i in xrange(cl.count()):
|
||||||
h = max(h, cl.sizeHintForRow(i))
|
h = cl.sizeHintForRow(i)
|
||||||
cl.item(i).setSizeHint(QSize(w, h))
|
cl.item(i).setSizeHint(QSize(w, h))
|
||||||
|
|
||||||
cl.setMaximumWidth(cl.sizeHintForColumn(0) + 35)
|
cl.setMaximumWidth(cl.sizeHintForColumn(0) + 35)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue