From 1b618b2501670c3481d78d63eb5ae91c23d14fbd Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sun, 9 Sep 2018 19:30:57 +1000 Subject: [PATCH 1/2] Set maxsplit to 0 on :tab-take --- qutebrowser/browser/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index d5e1797ac..d453c6a4f 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -485,7 +485,8 @@ class CommandDispatcher: new_tabbed_browser.widget.set_tab_pinned(newtab, curtab.data.pinned) return newtab - @cmdutils.register(instance='command-dispatcher', scope='window') + @cmdutils.register(instance='command-dispatcher', scope='window', + maxsplit=0) @cmdutils.argument('index', completion=miscmodels.other_buffer) def tab_take(self, index): """Take a tab from another window. From d298d49f6f40dfc5bbe03e114bbb0aa157e4d54d Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Tue, 11 Sep 2018 15:26:38 -0700 Subject: [PATCH 2/2] Update changelog --- doc/changelog.asciidoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 1fc848a1e..17135a149 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -49,6 +49,11 @@ Changed - Regenerating completion history now shows a progress dialog. - Make qute:// pages work properly on Qt 5.11.2 +Fixed +~~~~~ + +- Error when passing a substring with spaces to `:tab-take`. + Removed ~~~~~~~