Change commands.py to maintain old indent level
Changes to be committed: modified: qutebrowser/browser/commands.py
This commit is contained in:
parent
24a1104dc7
commit
9662d3aa25
@ -316,11 +316,10 @@ class CommandDispatcher:
|
|||||||
else:
|
else:
|
||||||
# Explicit count with a tab that doesn't exist.
|
# Explicit count with a tab that doesn't exist.
|
||||||
return
|
return
|
||||||
|
elif curtab.navigation_blocked():
|
||||||
|
message.info("Tab is pinned!")
|
||||||
else:
|
else:
|
||||||
if curtab.navigation_blocked():
|
curtab.load_url(cur_url)
|
||||||
message.info("Tab is pinned!")
|
|
||||||
else:
|
|
||||||
curtab.load_url(cur_url)
|
|
||||||
|
|
||||||
def _parse_url(self, url, *, force_search=False):
|
def _parse_url(self, url, *, force_search=False):
|
||||||
"""Parse a URL or quickmark or search query.
|
"""Parse a URL or quickmark or search query.
|
||||||
|
Loading…
Reference in New Issue
Block a user