mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
work around linux crash on paste
https://anki.tenderapp.com/discussions/ankidesktop/2019-inaccessible-firewall-blocked-media-url-paste-hangs-anki-for-a-minute-until-a-network-is-unreachable-like-message-appears
This commit is contained in:
parent
c0454fe3e7
commit
4c671b3676
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ class EditorWebView(AnkiWebView):
|
|||
if html:
|
||||
new.setHtml(html)
|
||||
else:
|
||||
new.setText(mime.text())
|
||||
new.setText(txt)
|
||||
return new
|
||||
|
||||
def _processHtml(self, mime):
|
||||
|
|
Loading…
Reference in a new issue