Commit 4dc3d002 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Check get_uri() None to be sure page has not been loaded

parent a5ae8eba
Pipeline #75786 passed with stage
in 14 minutes and 22 seconds
......@@ -100,7 +100,7 @@ class WebViewSignals(WebViewMenuSignals, WebViewJsSignals,
if self._window != self.get_toplevel():
# URI set but not loaded
if webview.get_uri() != webview.uri:
if webview.get_uri() is None and webview.uri is not None:
self._shown = True
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