diff options
author | Marius Kintel <marius@kintel.net> | 2011-10-03 22:41:41 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-10-03 22:41:41 (GMT) |
commit | 3e05291f09361f4a8cdd20bc025ad89e70cba0d6 (patch) | |
tree | 19bc8a095011035c4d90488298fc7f1fdefae55e /src/editor.h | |
parent | 7c9f2fa616f320ccc3800247894326ef2ac6dabc (diff) |
Disable insertion of rich text as it caused copy and paste errors. Reported and fixed by 'Moc'
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); } |