mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use pixel scrolling in the icon theme list
This commit is contained in:
parent
e1f7ebefa2
commit
4abda0ad43
@ -516,6 +516,7 @@ class ChooseTheme(Dialog):
|
||||
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…
x
Reference in New Issue
Block a user