fix loading urls without protocol from url bar
This commit is contained in:
parent
a092150ffa
commit
4bccce81dd
|
@ -534,7 +534,10 @@ class WebTab(BuilderBase, Gtk.Box):
|
|||
logging.verbose('Url without protocol')
|
||||
|
||||
except (NXDOMAIN, NoAnswer, TypeError):
|
||||
keword = s.get_config('default_search')
|
||||
return run_in_gui_thread(
|
||||
self.webview.load_uri,
|
||||
url.replace_properties(proto='https')
|
||||
)
|
||||
|
||||
if not (search := s.get_search(keyword, default=False)):
|
||||
search = s.get_search()
|
||||
|
|
Reference in a new issue