mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
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
This commit is contained in:
parent
ceceb9fd6a
commit
9982cb200c
@ -17,6 +17,7 @@ DisplayText::DisplayText(QWidget *parent)
|
|||||||
, erase_action_ {new QAction {tr ("&Erase"), this}}
|
, erase_action_ {new QAction {tr ("&Erase"), this}}
|
||||||
{
|
{
|
||||||
setReadOnly (true);
|
setReadOnly (true);
|
||||||
|
setUndoRedoEnabled (false);
|
||||||
viewport ()->setCursor (Qt::ArrowCursor);
|
viewport ()->setCursor (Qt::ArrowCursor);
|
||||||
setWordWrapMode (QTextOption::NoWrap);
|
setWordWrapMode (QTextOption::NoWrap);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user