aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editorpage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editorpage.cpp b/editorpage.cpp
index c28059d..acf1dcd 100644
--- a/editorpage.cpp
+++ b/editorpage.cpp
@@ -25,6 +25,7 @@ EditorPage::EditorPage(const QString &filePath, QWidget *parent) : QWidget(paren
fullFilePath(filePath)
{
textPage = new QTextEdit();
+ textPage->setAcceptRichText(false);
mainLayout = new QVBoxLayout();
mainLayout->setSpacing(0);
mainLayout->addWidget(textPage);