Force tabs to be focused on :undo.

Closes #394.
This commit is contained in:
Florian Bruhin 2014-12-21 13:06:24 +01:00
parent c295486333
commit 42890b8a7f

View File

@ -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)