From a19b6bf563c885444b5573e18949437b0bc15d37 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 6 Oct 2014 22:23:12 +0200 Subject: [PATCH] Fix :view-source --- qutebrowser/browser/commands.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 928942cf6..6f1d70286 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -818,7 +818,6 @@ class CommandDispatcher: full=True, linenos='table') highlighted = pygments.highlight(html, lexer, formatter) current_url = self._current_url() - tab = objreg.get('tabbed-browser').tabopen(explicit=True) tab = self._tabbed_browser().tabopen(explicit=True) tab.setHtml(highlighted, current_url) tab.viewing_source = True