mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More stupid PyQt enums
This commit is contained in:
parent
b34f1b8da9
commit
e2f9ef1e2b
@ -236,7 +236,7 @@ class BooksView(QTableView): # {{{
|
||||
|
||||
for wv in self, self.pin_view:
|
||||
if not tweaks['horizontal_scrolling_per_column']:
|
||||
wv.setHorizontalScrollMode(self.ScrollPerPixel)
|
||||
wv.setHorizontalScrollMode(QAbstractItemView.ScrollMode.ScrollPerPixel)
|
||||
|
||||
wv.setEditTriggers(QAbstractItemView.EditTrigger.EditKeyPressed)
|
||||
if tweaks['doubleclick_on_library_view'] == 'edit_cell':
|
||||
|
Loading…
x
Reference in New Issue
Block a user