From 798094ff194476c787d0fda795a82e8f5a5272fc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 13 Dec 2013 20:50:30 +0530 Subject: [PATCH] Edit book: Have the ToC view refresh itself after any major operation on the book --- src/calibre/gui2/tweak_book/boss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 214d6645fc..703255d8c5 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -223,6 +223,7 @@ class Boss(QObject): self.update_global_history_actions() self.update_editors_from_container() self.set_modified() + self.gui.toc_view.update_if_visible() @in_thread_job def delete_requested(self, spine_items, other_items):