summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/groupview/InstanceDelegate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/groupview/InstanceDelegate.cpp b/application/groupview/InstanceDelegate.cpp
index 56e98ac1..bb5fa776 100644
--- a/application/groupview/InstanceDelegate.cpp
+++ b/application/groupview/InstanceDelegate.cpp
@@ -389,6 +389,7 @@ void ListViewDelegate::setEditorData(QWidget* editor, const QModelIndex& index)
QTextEdit * realeditor = qobject_cast<NoReturnTextEdit *>(editor);
realeditor->setAlignment(Qt::AlignHCenter | Qt::AlignTop);
realeditor->append(text);
+ realeditor->selectAll();
realeditor->document()->clearUndoRedoStacks();
}