mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
20b2b0d5d4
commit
7af7fcf561
@ -399,6 +399,7 @@ class WebView(RestartingWebEngineView, OpenWithHandler):
|
||||
url = data.mediaUrl()
|
||||
if url.scheme() == FAKE_PROTOCOL:
|
||||
href = url.path().lstrip('/')
|
||||
if href:
|
||||
c = current_container()
|
||||
resource_name = c.href_to_name(href)
|
||||
if resource_name and c.exists(resource_name) and resource_name not in c.names_that_must_not_be_changed:
|
||||
|
Loading…
x
Reference in New Issue
Block a user