diff --git a/displaytext.cpp b/displaytext.cpp index a52d02b91..a31cf9bc4 100644 --- a/displaytext.cpp +++ b/displaytext.cpp @@ -17,6 +17,7 @@ DisplayText::DisplayText(QWidget *parent) , erase_action_ {new QAction {tr ("&Erase"), this}} { setReadOnly (true); + setUndoRedoEnabled (false); viewport ()->setCursor (Qt::ArrowCursor); setWordWrapMode (QTextOption::NoWrap);