Verified Commit 089ae057 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Do not accept rich text in notepad

Accepting rich text breaks too often better to
convert to plain before this.

BUG: 421216
GnuPG-Bug-Id: T4969
parent 7d5027c6
Pipeline #22948 passed with stage
in 13 minutes and 18 seconds
......@@ -164,6 +164,7 @@ public:
// QFontDatabase::systemFont(QFontDatabase::FixedFont);
mEdit->setFont(fixedFont);
mEdit->setAcceptRichText(false);
mEdit->setMinimumWidth(QFontMetrics(fixedFont).averageCharWidth() * 70);
if (KeyCache::instance()->pgpOnly()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment