Commit 645cf5f6 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Chech URI is not None. Fix #341

parent 3ba7175a
Pipeline #82972 failed with stage
in 24 minutes and 25 seconds
......@@ -118,7 +118,9 @@ class PageChildRow(Gtk.ListBoxRow):
"""
if event in [WebKit2.LoadEvent.STARTED,
WebKit2.LoadEvent.COMMITTED]:
self.__label.set_text(webview.get_uri())
uri = webview.get_uri()
if uri is not None:
self.__label.set_text(uri)
def __on_webview_title_changed(self, webview, title):
"""
......
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