mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Provide AnkiWebPage init defaults for existing add-on callers
This commit is contained in:
parent
24bca15fd3
commit
fd2c95a83e
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ class AnkiWebPage(QWebEnginePage):
|
|||
def __init__(
|
||||
self,
|
||||
onBridgeCmd: BridgeCommandHandler,
|
||||
kind: AnkiWebViewKind,
|
||||
parent: QObject | None,
|
||||
kind: AnkiWebViewKind = AnkiWebViewKind.DEFAULT,
|
||||
parent: QObject | None = None,
|
||||
) -> None:
|
||||
profile = self._profileForPage(kind)
|
||||
QWebEnginePage.__init__(self, profile, parent)
|
||||
|
|
Loading…
Reference in a new issue