fix text not appearing after .apkg import

This commit is contained in:
Damien Elmes 2021-03-22 11:24:53 +10:00
parent 7273996041
commit ba1742aee2

View File

@ -220,6 +220,7 @@ def showText(
text = QPlainTextEdit()
text.setReadOnly(True)
text.setWordWrapMode(QTextOption.NoWrap)
text.setPlainText(txt)
else:
text = QTextBrowser()
text.setOpenExternalLinks(True)