From 17f6a7878ff852d63a74f765f62f6458491ea1df Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 30 Mar 2015 18:39:45 +0530 Subject: [PATCH] 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) --- src/calibre/gui2/book_details.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/book_details.py b/src/calibre/gui2/book_details.py index 7b6859ce7d..34433b76d6 100644 --- a/src/calibre/gui2/book_details.py +++ b/src/calibre/gui2/book_details.py @@ -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: