Fix #1971461 [Blank Book Details when switching from Device to Library](https://bugs.launchpad.net/calibre/+bug/1971461)

This commit is contained in:
Kovid Goyal 2022-05-25 20:54:15 +05:30
parent fd8a8c24bc
commit 9ca689c810
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -945,6 +945,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
self.vl_tabs.setEnabled(False) self.vl_tabs.setEnabled(False)
# Reset the view in case something changed while it was invisible # Reset the view in case something changed while it was invisible
self.current_view().reset() self.current_view().reset()
self.current_view().refresh_book_details()
self.set_number_of_books_shown() self.set_number_of_books_shown()
self.update_status_bar() self.update_status_bar()