diff options
Diffstat (limited to 'src/editor.h')
-rw-r--r-- | src/editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.h b/src/editor.h index c2f3333..3088d20 100644 --- a/src/editor.h +++ b/src/editor.h @@ -22,7 +22,7 @@ public slots: //void zoomOut() { zoom(-1); } void zoomOut(int n = 1) { zoom(-n); } #else - Editor(QWidget *parent) : QTextEdit(parent) {} + Editor(QWidget *parent) : QTextEdit(parent) { setAcceptRichText(false); } public slots: void setLineWrapping(bool on) { if(on) setWordWrapMode(QTextOption::WrapAnywhere); } void setContentModified(bool y) { document()->setModified(y); } |