mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 09:22:57 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -449,6 +449,8 @@ def contextMenuEvent(self, ev):
|
|||
]:
|
||||
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…
Reference in a new issue