mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Book details panel: Fix copying Path link by right clicking on it not working. Fixes #1437756 [[Enhancement] Option to create and place a link to a selected book.](https://bugs.launchpad.net/calibre/+bug/1437756)
This commit is contained in:
parent
3536596399
commit
17f6a7878f
@ -449,6 +449,8 @@ class BookInfo(QWebView):
|
||||
]:
|
||||
ac = getattr(self, '%s_link_action'%a)
|
||||
ac.current_url = url
|
||||
if url.startswith('path:'):
|
||||
ac.current_url = el.attribute('title')
|
||||
ac.setText(t)
|
||||
menu.addAction(ac)
|
||||
if author is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user