Open about:blank if opening startpage fails.
This commit is contained in:
parent
6e61f4c586
commit
24c48df988
@ -250,6 +250,7 @@ class Application(QApplication):
|
||||
except urlutils.FuzzyUrlError as e:
|
||||
message.error(0, "Error when opening startpage: "
|
||||
"{}".format(e))
|
||||
tabbed_browser.tabopen(QUrl('about:blank'))
|
||||
else:
|
||||
tabbed_browser.tabopen(url)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user