aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-11 13:31:40 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-06-11 13:31:40 +0200
commit1e8896f509bd3435b97b6036c02fb177e5f5e526 (patch)
tree998bb676ab0f2eee3bf29e1d7def1b306abce723 /examples
parent6108df521065e3a4628ae5656c3cbfd281b6765d (diff)
TabbedBrowser Example: Fix "Open in new tab"
Restore override of QWebEngineView::createWindow() broken by 90c1c767095e583d0315e87c0592597020858246. Change-Id: I6cdc05c3b8edbfb9da24ca3d6502cec2ccce870a Fixes: PYSIDE-1022 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/tabbedbrowser/webengineview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/tabbedbrowser/webengineview.py b/examples/webenginewidgets/tabbedbrowser/webengineview.py
index 7b5775bc..4fdbf180 100644
--- a/examples/webenginewidgets/tabbedbrowser/webengineview.py
+++ b/examples/webenginewidgets/tabbedbrowser/webengineview.py
@@ -79,7 +79,7 @@ class WebEngineView(QWebEngineView):
def is_web_action_enabled(self, web_action):
return self.page().action(web_action).isEnabled()
- def create_window(self, window_type):
+ def createWindow(self, window_type):
if window_type == QWebEnginePage.WebBrowserTab or window_type == QWebEnginePage.WebBrowserBackgroundTab:
return self._tab_factory_func()
return self._window_factory_func()