Fix WebEnginePage acceptNavigationRequest

This commit is contained in:
Florian Bruhin 2016-11-14 09:37:23 +01:00
parent 69452a9813
commit ba1bcc658e

View File

@ -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