mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue