From 9bbe2f36bca59667148c9bd811cdac19fb9610fe Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Fri, 26 Feb 2021 17:17:25 +0100 Subject: [PATCH] disallow rich text in deck comments (#4273) --- cockatrice/src/tab_deck_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cockatrice/src/tab_deck_editor.cpp b/cockatrice/src/tab_deck_editor.cpp index 061412c0..15e26e12 100644 --- a/cockatrice/src/tab_deck_editor.cpp +++ b/cockatrice/src/tab_deck_editor.cpp @@ -87,6 +87,7 @@ void TabDeckEditor::createDeckDock() commentsLabel = new QLabel(); commentsLabel->setObjectName("commentsLabel"); commentsEdit = new QTextEdit; + commentsEdit->setAcceptRichText(false); commentsEdit->setMinimumHeight(nameEdit->minimumSizeHint().height()); commentsEdit->setObjectName("commentsEdit"); commentsLabel->setBuddy(commentsEdit);