mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
For accessibility, add a context menu item to book details links to click the link.
This commit is contained in:
parent
a9cec37155
commit
a73a36703e
@ -508,6 +508,7 @@ def details_context_menu_event(view, ev, book_info, add_popup_action=False, edit
|
|||||||
ac.current_url = url
|
ac.current_url = url
|
||||||
ac.setText(_('Copy link location'))
|
ac.setText(_('Copy link location'))
|
||||||
menu.addAction(ac)
|
menu.addAction(ac)
|
||||||
|
menu.addAction(QIcon.ic('external-link'), _('Click link'), lambda : book_info.link_clicked.emit(url))
|
||||||
if not copy_links_added:
|
if not copy_links_added:
|
||||||
create_copy_links(copy_menu)
|
create_copy_links(copy_menu)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user