mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1850764 [Custom 'formats' column not updating after a polish](https://bugs.launchpad.net/calibre/+bug/1850764)
This commit is contained in:
commit
51c378e1d8
@ -530,6 +530,7 @@ class PolishAction(InterfaceAction):
|
|||||||
pass
|
pass
|
||||||
self.gui.tags_view.recount()
|
self.gui.tags_view.recount()
|
||||||
if self.gui.current_view() is self.gui.library_view:
|
if self.gui.current_view() is self.gui.library_view:
|
||||||
|
self.gui.library_view.model().refresh_ids((book_id,))
|
||||||
current = self.gui.library_view.currentIndex()
|
current = self.gui.library_view.currentIndex()
|
||||||
if current.isValid():
|
if current.isValid():
|
||||||
self.gui.library_view.model().current_changed(current, QModelIndex())
|
self.gui.library_view.model().current_changed(current, QModelIndex())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user