mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Some rows weren't refreshed when marks first appeared or all disappeared
This commit is contained in:
parent
e0fe581d1d
commit
c55039f4e6
@ -954,6 +954,8 @@ class BooksView(QTableView): # {{{
|
||||
self.row_header.headerDataChanged(Qt.Orientation.Vertical, 0, self.row_header.count()-1)
|
||||
self.row_header.geometriesChanged.emit()
|
||||
self.set_row_header_visibility()
|
||||
# refresh the rows because there might be a composite that uses marked_books()
|
||||
self.model().refresh_rows(current_marked)
|
||||
|
||||
def set_row_header_visibility(self):
|
||||
visible = self.model().row_decoration is not None or gprefs['row_numbers_in_book_list']
|
||||
|
Loading…
x
Reference in New Issue
Block a user