summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-04 19:06:40 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-04 19:06:40 (GMT)
commit799ca1d1b3f2e9142460ab3ce895a0641f54dfda (patch)
tree6c168de6d55cb92b94b0ddeb54c668bd4946c10d /src/editor.h
parent9259d57659f61e9e56942bb36125f605f8f3c338 (diff)
parentf5e0f3a531b0c8806e4ebc62cd91ca31275ae481 (diff)
Merge branch 'master' into visitortests
Conflicts: src/polyset.h
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h2
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); }
contact: Jan Huwald // Impressum