From 308139f4838f1d968c74b9bc45c2a29837032cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jezer=20Mej=C3=ADa?= Date: Sat, 30 Mar 2024 19:32:26 -0600 Subject: [PATCH] Fix dev page error on zoom keybinds --- src/browser/window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/window.py b/src/browser/window.py index 25062968e..d361bc7b7 100644 --- a/src/browser/window.py +++ b/src/browser/window.py @@ -125,7 +125,7 @@ class BrowserWindow(MainWindow): win_view: QWebEngineView win_page: WebPage dev_view: QWebEngineView - dev_page: QWebEnginePage + dev_page: WebPage dev_tools_enabled: bool = False bridge_initialized: bool @@ -235,7 +235,7 @@ def _init_winpage(self): def _init_devtools(self): self.dev_view = QWebEngineView(parent=self) - self.dev_page = QWebEnginePage() + self.dev_page = WebPage() self.dev_view.setPage(self.dev_page) self.dev_view.setObjectName("Devtools view")