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: 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.