Fix crash when pasting an URL
This commit is contained in:
parent
9a33efdb3f
commit
d6fb0f7774
@ -522,7 +522,8 @@ class CommandDispatcher:
|
||||
if tab:
|
||||
self._tabs.tabopen(url)
|
||||
else:
|
||||
self.openurl(url)
|
||||
widget = self._tabs.currentWidget()
|
||||
widget.openurl(url)
|
||||
|
||||
@cmdutils.register(instance='mainwindow.tabs.cmd')
|
||||
def paste_tab(self, sel=False):
|
||||
|
Loading…
Reference in New Issue
Block a user