mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
4fceeb4ddd
@ -722,9 +722,11 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
if location == 'library':
|
if location == 'library':
|
||||||
self.virtual_library_menu.setEnabled(True)
|
self.virtual_library_menu.setEnabled(True)
|
||||||
self.highlight_only_button.setEnabled(True)
|
self.highlight_only_button.setEnabled(True)
|
||||||
|
self.vl_tabs.setEnabled(True)
|
||||||
else:
|
else:
|
||||||
self.virtual_library_menu.setEnabled(False)
|
self.virtual_library_menu.setEnabled(False)
|
||||||
self.highlight_only_button.setEnabled(False)
|
self.highlight_only_button.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.set_number_of_books_shown()
|
self.set_number_of_books_shown()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user