Force opening in fg when opening a JS-window.

Fixes #174.
This commit is contained in:
Florian Bruhin 2014-12-03 19:31:00 +01:00
parent 3adb97e4d2
commit 95d919b5f6

View File

@ -447,7 +447,7 @@ class WebView(QWebView):
"support that!") "support that!")
tabbed_browser = objreg.get('tabbed-browser', scope='window', tabbed_browser = objreg.get('tabbed-browser', scope='window',
window=self._win_id) window=self._win_id)
return tabbed_browser.tabopen() return tabbed_browser.tabopen(background=False)
def mousePressEvent(self, e): def mousePressEvent(self, e):
"""Extend QWidget::mousePressEvent(). """Extend QWidget::mousePressEvent().