Skip to content

Commit

Permalink
Fix dev page error on zoom keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
JezerM committed Mar 31, 2024
1 parent 1d1495d commit 308139f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 308139f

Please sign in to comment.