Change commands.py to maintain old indent level

Changes to be committed:
      modified:   qutebrowser/browser/commands.py
This commit is contained in:
adam 2019-01-05 23:21:59 -05:00
parent 24a1104dc7
commit 9662d3aa25

View File

@ -316,11 +316,10 @@ class CommandDispatcher:
else:
# Explicit count with a tab that doesn't exist.
return
elif curtab.navigation_blocked():
message.info("Tab is pinned!")
else:
if curtab.navigation_blocked():
message.info("Tab is pinned!")
else:
curtab.load_url(cur_url)
curtab.load_url(cur_url)
def _parse_url(self, url, *, force_search=False):
"""Parse a URL or quickmark or search query.