mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
...
This commit is contained in:
parent
1fd1d1cdef
commit
b2d0fb5cf7
@ -1348,7 +1348,7 @@ class BooksView(QTableView): # {{{
|
|||||||
if vh.sectionsHidden():
|
if vh.sectionsHidden():
|
||||||
for s in range(vertical_index - 1, -1, -1):
|
for s in range(vertical_index - 1, -1, -1):
|
||||||
r = vh.logicalIndex(s)
|
r = vh.logicalIndex(s)
|
||||||
if vh.isSectionHidden(row):
|
if vh.isSectionHidden(r):
|
||||||
hidden_sections += 1
|
hidden_sections += 1
|
||||||
vsb.setValue(vertical_index - hidden_sections)
|
vsb.setValue(vertical_index - hidden_sections)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user