Move --implicit flag argument to the end of _open
This commit is contained in:
parent
feed1ccda4
commit
299d4865d0
@ -114,8 +114,8 @@ class CommandDispatcher:
|
|||||||
raise cmdexc.CommandError("No WebView available yet!")
|
raise cmdexc.CommandError("No WebView available yet!")
|
||||||
return widget
|
return widget
|
||||||
|
|
||||||
def _open(self, url, explicit=True,
|
def _open(self, url, tab=False, background=False, window=False,
|
||||||
tab=False, background=False, window=False):
|
explicit=True):
|
||||||
"""Helper function to open a page.
|
"""Helper function to open a page.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
@ -263,7 +263,7 @@ class CommandDispatcher:
|
|||||||
message.error(self._win_id, str(e))
|
message.error(self._win_id, str(e))
|
||||||
return
|
return
|
||||||
if tab or bg or window:
|
if tab or bg or window:
|
||||||
self._open(url, not implicit, tab, bg, window)
|
self._open(url, tab, bg, window, not implicit)
|
||||||
else:
|
else:
|
||||||
curtab = self._cntwidget(count)
|
curtab = self._cntwidget(count)
|
||||||
if curtab is None:
|
if curtab is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user