mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
fix text not appearing after .apkg import
This commit is contained in:
parent
7273996041
commit
ba1742aee2
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ def showText(
|
|||
text = QPlainTextEdit()
|
||||
text.setReadOnly(True)
|
||||
text.setWordWrapMode(QTextOption.NoWrap)
|
||||
text.setPlainText(txt)
|
||||
else:
|
||||
text = QTextBrowser()
|
||||
text.setOpenExternalLinks(True)
|
||||
|
|
Loading…
Reference in a new issue