From 47f391d38b054b5013fce27b717a936e089b2e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Grensj=C3=B6?= Date: Sat, 13 May 2017 04:09:34 +0200 Subject: [PATCH] Set explicit=False for :navigate --tab Related to #2624 --- CHANGELOG.asciidoc | 5 +++-- qutebrowser/browser/commands.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 2b62234c5..392a31df1 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -55,8 +55,9 @@ Changed - The adblocker now also blocks non-GET requests (e.g. POST) - `:follow-selected` now also works with QtWebEngine - javascript: links can now be hinted -- :view-source and :tab-clone now don't open the tab as "explicit" anymore, i.e. - (with the default settings) open it next to the active tab. +- `:view-source`, `:tab-clone` and `:navigate --tab` now don't open the tab as + "explicit" anymore, i.e. (with the default settings) open it next to the + active tab. Fixed ~~~~~ diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index c65a279dc..f513651cb 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -560,7 +560,7 @@ class CommandDispatcher: tab=tab, background=bg, window=window) elif where in ['up', 'increment', 'decrement']: new_url = handlers[where](url, count) - self._open(new_url, tab, bg, window) + self._open(new_url, tab, bg, window, explicit=False) else: # pragma: no cover raise ValueError("Got called with invalid value {} for " "`where'.".format(where))