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