Don't crash if url is None in tabopen
This commit is contained in:
parent
5efc9de434
commit
35ffc2c2c0
@ -280,6 +280,7 @@ class TabbedBrowser(TabWidget):
|
||||
Return:
|
||||
The opened WebView instance.
|
||||
"""
|
||||
if url is not None:
|
||||
qt_ensure_valid(url)
|
||||
log.webview.debug("Creating new tab with URL {}".format(url))
|
||||
tab = WebView(self)
|
||||
|
Loading…
Reference in New Issue
Block a user