diff --git a/UI/source-tree.cpp b/UI/source-tree.cpp index 5c97278b8..983b64b2c 100644 --- a/UI/source-tree.cpp +++ b/UI/source-tree.cpp @@ -259,6 +259,7 @@ void SourceTreeItem::EnterEditMode() setFocusPolicy(Qt::StrongFocus); boxLayout->removeWidget(label); editor = new QLineEdit(label->text()); + editor->selectAll(); editor->installEventFilter(this); boxLayout->insertWidget(1, editor); setFocusProxy(editor);