mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Book details: Fix Manage authors via context menu not working
This commit is contained in:
parent
8ea5281a47
commit
e7abf626bc
@ -529,7 +529,7 @@ class TagBrowserMixin: # {{{
|
|||||||
db = self.library_view.model().db
|
db = self.library_view.model().db
|
||||||
get_authors_func = partial(self.get_book_ids_in_vl_or_selection, db=db, category='authors')
|
get_authors_func = partial(self.get_book_ids_in_vl_or_selection, db=db, category='authors')
|
||||||
if lookup_author:
|
if lookup_author:
|
||||||
for t in get_authors_func(use_virtual_library=False):
|
for t in get_authors_func(None):
|
||||||
if t[1] == id_:
|
if t[1] == id_:
|
||||||
id_ = t[0]
|
id_ = t[0]
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user