mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Close footnotes window when opening new book
This commit is contained in:
parent
78f1e4a4ab
commit
d559fad378
@ -852,6 +852,7 @@ class EbookViewer(MainWindow):
|
||||
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…
x
Reference in New Issue
Block a user