fix links not opening externally after finishing
https://forums.ankiweb.net/t/anki-2-1-34-35-beta/3569/19
This commit is contained in:
parent
a4f0181f25
commit
d9562a1898
@ -300,6 +300,7 @@ class AnkiWebView(QWebEngineView):
|
|||||||
self._pendingActions = []
|
self._pendingActions = []
|
||||||
self._domDone = True
|
self._domDone = True
|
||||||
self._queueAction("setHtml", html)
|
self._queueAction("setHtml", html)
|
||||||
|
self.set_open_links_externally(True)
|
||||||
|
|
||||||
def _setHtml(self, html: str) -> None:
|
def _setHtml(self, html: str) -> None:
|
||||||
app = QApplication.instance()
|
app = QApplication.instance()
|
||||||
|
Loading…
Reference in New Issue
Block a user