Commit ec266325 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

CodePaster: Disable undo/redo buffer



Task-number: QTCREATORBUG-7645
Change-Id: I51b0301b5bc376f45deb5925bda8db936973aaef
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent bba547d1
...@@ -41,6 +41,7 @@ ColumnIndicatorTextEdit::ColumnIndicatorTextEdit(QWidget *parent) : ...@@ -41,6 +41,7 @@ ColumnIndicatorTextEdit::ColumnIndicatorTextEdit(QWidget *parent) :
font.setFamily(QLatin1String("Courier New")); font.setFamily(QLatin1String("Courier New"));
setFont(font); setFont(font);
setReadOnly(true); setReadOnly(true);
setUndoRedoEnabled(false);
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy.setVerticalStretch(3); sizePolicy.setVerticalStretch(3);
setSizePolicy(sizePolicy); setSizePolicy(sizePolicy);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment