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():
return
# URI set but not loaded
if webview.get_uri() != webview.uri:
if webview.get_uri() is None and webview.uri is not None:
webview.load_uri(webview.uri)
self._shown = True
self.emit("shown")
......
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