Fix WebEnginePage acceptNavigationRequest
This commit is contained in:
parent
69452a9813
commit
ba1bcc658e
@ -304,6 +304,5 @@ class WebEnginePage(QWebEnginePage):
|
|||||||
not url.isValid()):
|
not url.isValid()):
|
||||||
msg = urlutils.get_errstring(url, "Invalid link clicked")
|
msg = urlutils.get_errstring(url, "Invalid link clicked")
|
||||||
message.error(msg)
|
message.error(msg)
|
||||||
self.page().open_target = usertypes.ClickTarget.normal
|
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user