From 9982cb200c2de9fc073ad3aa3b56713b4e4670f4 Mon Sep 17 00:00:00 2001
From: Bill Somerville <g4wjs@classdesign.com>
Date: Sat, 31 Mar 2018 17:47:26 +0000
Subject: [PATCH] Disable undo/redo for the decoded text windows as we never
 use it and don't need the overhead

Thanks to Alex, VE3NEA, for this contribution.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8594 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
---
 displaytext.cpp | 1 +
 1 file changed, 1 insertion(+)

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);