diff options
author | Jethro Cao <jethrocao@gmail.com> | 2019-12-18 00:56:41 +0700 |
---|---|---|
committer | Jethro Cao <jethrocao@gmail.com> | 2019-12-18 01:04:23 +0700 |
commit | 1c7fb675501ccc52d4f39870074d49fbbe64608f (patch) | |
tree | 4a29918d1a673297eefca127bc152299e2912014 | |
parent | 7e8a1f0e206715d1b2741109651dbf281bad92f2 (diff) | |
download | qutebrowser-1c7fb675501ccc52d4f39870074d49fbbe64608f.tar.gz qutebrowser-1c7fb675501ccc52d4f39870074d49fbbe64608f.zip |
Add buffer resolution cond for tabs_are_windows
-rw-r--r-- | qutebrowser/browser/commands.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 871d0f673..b59cb6d26 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -848,6 +848,8 @@ class CommandDispatcher: if len(index_parts) == 2: win_id = int(index_parts[0]) idx = int(index_parts[1]) + elif len(index_parts) == 1 and config.val.tabs.tabs_are_windows: + win_id, idx = int(index_parts[0]) - 1, 1 elif len(index_parts) == 1: idx = int(index_parts[0]) active_win = QApplication.activeWindow() |