mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1864350 [Copy all in the Book details window doesn't copy all](https://bugs.launchpad.net/calibre/+bug/1864350)
This commit is contained in:
parent
48fb202737
commit
c3f906ea84
@ -279,7 +279,7 @@ def add_item_specific_entries(menu, data, book_info):
|
|||||||
def details_context_menu_event(view, ev, book_info):
|
def details_context_menu_event(view, ev, book_info):
|
||||||
url = view.anchorAt(ev.pos())
|
url = view.anchorAt(ev.pos())
|
||||||
menu = view.createStandardContextMenu()
|
menu = view.createStandardContextMenu()
|
||||||
menu.addAction(QIcon(I('edit-copy.png')), _('Copy &all'), partial(copy_all, book_info))
|
menu.addAction(QIcon(I('edit-copy.png')), _('Copy &all'), partial(copy_all, view))
|
||||||
search_internet_added = False
|
search_internet_added = False
|
||||||
if url and url.startswith('action:'):
|
if url and url.startswith('action:'):
|
||||||
data = json_loads(from_hex_bytes(url.split(':', 1)[1]))
|
data = json_loads(from_hex_bytes(url.split(':', 1)[1]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user