mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:33:08 +02:00
Use pixel scrolling in the icon theme list
This commit is contained in:
parent
e1f7ebefa2
commit
4abda0ad43
1 changed files with 1 additions and 0 deletions
|
|
@ -516,6 +516,7 @@ def add_row(x, y=None):
|
|||
sb.setEditable(False), sb.setCurrentIndex(1)
|
||||
sb.currentIndexChanged[int].connect(self.re_sort)
|
||||
self.theme_list = tl = QListWidget(self)
|
||||
tl.setVerticalScrollMode(tl.ScrollPerPixel)
|
||||
self.delegate = Delegate(tl)
|
||||
tl.setItemDelegate(self.delegate)
|
||||
tl.itemDoubleClicked.connect(self.accept)
|
||||
|
|
|
|||
Loading…
Reference in a new issue