From 2186716655d0580f90d312baab87e33380a87011 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 4 Nov 2017 08:18:19 +0800 Subject: [PATCH] disable rich text in VTextEdit --- src/vtextedit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vtextedit.cpp b/src/vtextedit.cpp index 2842a308..48517444 100644 --- a/src/vtextedit.cpp +++ b/src/vtextedit.cpp @@ -42,6 +42,8 @@ VTextEdit::~VTextEdit() void VTextEdit::init() { + setAcceptRichText(false); + m_lineNumberType = LineNumberType::None; m_blockImageEnabled = false;