mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix the row numbers in the book list remaining wide when switching libraries if some books were marked before the switch. Fixes #1369152 [Column width behaviour](https://bugs.launchpad.net/calibre/+bug/1369152)
This commit is contained in:
parent
3004603cd4
commit
9713536660
@ -769,6 +769,10 @@ class BooksView(QTableView): # {{{
|
|||||||
|
|
||||||
self.restore_state()
|
self.restore_state()
|
||||||
self.set_ondevice_column_visibility()
|
self.set_ondevice_column_visibility()
|
||||||
|
# incase there were marked books
|
||||||
|
self.model().set_row_decoration(set())
|
||||||
|
self.row_header.headerDataChanged(Qt.Vertical, 0, self.row_header.count()-1)
|
||||||
|
self.row_header.geometriesChanged.emit()
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Context Menu {{{
|
# Context Menu {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user