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 aefcdfa17f
commit fa6ee12f47

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()