enable undo/redo on node param text editor

This commit is contained in:
itsmattkc
2020-11-25 17:17:13 +11:00
parent afa31e1df8
commit 210417a5f2
@@ -35,6 +35,7 @@ NodeParamViewRichText::NodeParamViewRichText(QWidget *parent) :
layout->setMargin(0);
line_edit_ = new QTextEdit();
line_edit_->setUndoRedoEnabled(true);
connect(line_edit_, &QTextEdit::textChanged, this, &NodeParamViewRichText::InnerWidgetTextChanged);
layout->addWidget(line_edit_);