mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04: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
@ -725,7 +725,7 @@ class Preferences(QDialog):
|
||||
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…
x
Reference in New Issue
Block a user