Handle url with trailing slash and without
This commit is contained in:
parent
9a0c113f8a
commit
0b047e3e10
@ -214,7 +214,7 @@ def qute_tabs(_url):
|
|||||||
scope='window',
|
scope='window',
|
||||||
window=win_id)
|
window=win_id)
|
||||||
for tab in tabbed_browser.widgets():
|
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(
|
tabs[str(win_id)].append(
|
||||||
(tab.title(), tab.url().toDisplayString()))
|
(tab.title(), tab.url().toDisplayString()))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user