Fixes #1850764 [Custom 'formats' column not updating after a polish](https://bugs.launchpad.net/calibre/+bug/1850764)
This commit is contained in:
Kovid Goyal 2019-11-01 07:41:42 +05:30
commit 51c378e1d8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -530,6 +530,7 @@ class PolishAction(InterfaceAction):
pass
self.gui.tags_view.recount()
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()
if current.isValid():
self.gui.library_view.model().current_changed(current, QModelIndex())