From 8d22d558e20cd73da3529e8fc6084e405a6684c8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 27 Oct 2014 20:46:35 +0100 Subject: [PATCH] Fix tab closing with tabs->last-close = blank. Fixes #220. --- qutebrowser/widgets/tabbedbrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/widgets/tabbedbrowser.py b/qutebrowser/widgets/tabbedbrowser.py index e8320b910..38dba3cbc 100644 --- a/qutebrowser/widgets/tabbedbrowser.py +++ b/qutebrowser/widgets/tabbedbrowser.py @@ -224,7 +224,7 @@ class TabbedBrowser(tabwidget.TabWidget): self._remove_tab(tab) self.close_window.emit() elif last_close == 'blank': - tab.openurl('about:blank') + tab.openurl(QUrl('about:blank')) def _remove_tab(self, tab): """Remove a tab from the tab list and delete it properly.