From 6ac35b30c11511409378cf29a520c08017d2136a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 8 Feb 2021 16:42:21 +1000 Subject: [PATCH] Media check suffered from the same text box slowdown as the importing screen --- qt/aqt/mediacheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt/aqt/mediacheck.py b/qt/aqt/mediacheck.py index 64f85e32d..c1131357f 100644 --- a/qt/aqt/mediacheck.py +++ b/qt/aqt/mediacheck.py @@ -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)