mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-12 20:59:59 -04:00
Fix right click on bookshelf layout button not opening correct preferences widget
This commit is contained in:
parent
265d1ee1fe
commit
e8849a0ec1
@ -74,8 +74,7 @@ class PreferencesAction(InterfaceAction):
|
||||
if d.do_restart:
|
||||
self.gui.quit(restart=True)
|
||||
|
||||
def do_config(self, checked=False, initial_plugin=None,
|
||||
close_after_initial=False):
|
||||
def do_config(self, checked=False, initial_plugin=None, close_after_initial=False):
|
||||
if self.gui.job_manager.has_jobs():
|
||||
d = error_dialog(self.gui, _('Cannot configure'),
|
||||
_('Cannot configure while there are running jobs.'))
|
||||
|
||||
@ -185,7 +185,7 @@ class LayoutButton(QToolButton):
|
||||
tab_name = {
|
||||
'book_details':'book_details',
|
||||
'cover_grid':'cover_grid',
|
||||
'bookshelf_view':'bookshelf_view',
|
||||
'bookshelf_view':'bookshelf',
|
||||
'cover_browser':'cover_browser',
|
||||
'tag_browser':'tag_browser',
|
||||
'quick_view':'quickview',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user