Media check suffered from the same text box slowdown as the importing screen

This commit is contained in:
Damien Elmes 2021-02-08 16:42:21 +10:00
parent c23b01978d
commit 6ac35b30c1

View File

@ -97,9 +97,10 @@ class MediaChecker:
disable_help_button(diag)
layout = QVBoxLayout(diag)
diag.setLayout(layout)
text = QTextEdit()
text = QPlainTextEdit()
text.setReadOnly(True)
text.setPlainText(report)
text.setWordWrapMode(QTextOption.NoWrap)
layout.addWidget(text)
box = QDialogButtonBox(QDialogButtonBox.Close)
layout.addWidget(box)