From 42890b8a7fb14eb1a17cc0231615d53b4507b3fc Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 21 Dec 2014 13:06:24 +0100 Subject: [PATCH] Force tabs to be focused on :undo. Closes #394. --- qutebrowser/mainwindow/tabbedbrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/mainwindow/tabbedbrowser.py b/qutebrowser/mainwindow/tabbedbrowser.py index 33ebacec3..258428c23 100644 --- a/qutebrowser/mainwindow/tabbedbrowser.py +++ b/qutebrowser/mainwindow/tabbedbrowser.py @@ -259,7 +259,7 @@ class TabbedBrowser(tabwidget.TabWidget): def undo(self): """Undo removing of a tab.""" url, history_data = self._undo_stack.pop() - newtab = self.tabopen(url) + newtab = self.tabopen(url, background=False) qtutils.deserialize(history_data, newtab.history()) @pyqtSlot('QUrl', bool)