ensure page is shown when setHtml() called
https://forums.ankiweb.net/t/looked-into-the-bug-when-pressing-e-and-r-together-in-filtered-deck/8951
This commit is contained in:
parent
10309c9d9c
commit
12a3d9ec87
@ -322,6 +322,7 @@ class AnkiWebView(QWebEngineView):
|
||||
self._domDone = True
|
||||
self._queueAction("setHtml", html)
|
||||
self.set_open_links_externally(True)
|
||||
self.show()
|
||||
|
||||
def _setHtml(self, html: str) -> None:
|
||||
from aqt import mw
|
||||
|
Loading…
Reference in New Issue
Block a user