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:
Damien Elmes 2020-09-27 14:36:55 +10:00
parent a4f0181f25
commit d9562a1898

View File

@ -300,6 +300,7 @@ class AnkiWebView(QWebEngineView):
self._pendingActions = []
self._domDone = True
self._queueAction("setHtml", html)
self.set_open_links_externally(True)
def _setHtml(self, html: str) -> None:
app = QApplication.instance()