Commit 7e62ec90 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Let event continue

parent c9e33612
Pipeline #44343 passed with stage
in 10 minutes and 35 seconds
......@@ -366,7 +366,7 @@ class WebViewNavigation:
if navigation_uri == "about:blank":
self.reset_last_click_event()
decision.use()
return True
return False
elif decision_type == WebKit2.PolicyDecisionType.NEW_WINDOW_ACTION:
self.new_page(navigation_uri, LoadingType.FOREGROUND)
decision.ignore()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment