mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-25 19:53:07 +02:00
Close footnotes window when opening new book
This commit is contained in:
parent
78f1e4a4ab
commit
d559fad378
1 changed files with 1 additions and 0 deletions
|
|
@ -852,6 +852,7 @@ def load_ebook(self, pathtoebook, open_at=None, reopen_at=None):
|
|||
vprefs.set('viewer_open_history', vh[:50])
|
||||
self.build_recent_menu()
|
||||
|
||||
self.footnotes_dock.close()
|
||||
self.action_table_of_contents.setDisabled(not self.iterator.toc)
|
||||
self.current_book_has_toc = bool(self.iterator.toc)
|
||||
self.current_title = title
|
||||
|
|
|
|||
Loading…
Reference in a new issue