From 0b047e3e1057b0f19cf885605a09dfc17bee9aaa Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Mon, 12 Feb 2018 22:48:41 +0100 Subject: [PATCH] Handle url with trailing slash and without --- qutebrowser/browser/qutescheme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/qutescheme.py b/qutebrowser/browser/qutescheme.py index 5335a97c8..a93cd88a8 100644 --- a/qutebrowser/browser/qutescheme.py +++ b/qutebrowser/browser/qutescheme.py @@ -214,7 +214,7 @@ def qute_tabs(_url): scope='window', window=win_id) for tab in tabbed_browser.widgets(): - if tab.url() != QUrl("qute://tabs/"): + if tab.url() not in [QUrl("qute://tabs/"), QUrl("qute://tabs")]: tabs[str(win_id)].append( (tab.title(), tab.url().toDisplayString()))