mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-14 17:24:17 -04:00
UI: Add text autoselect for source rename
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user