UI: Set focus back to label after source rename
Fixes obsproject/obs-studio#3465
This commit is contained in:
parent
3486c0b363
commit
f56ab9a38b
1 changed files with 1 additions and 0 deletions
|
|
@ -354,6 +354,7 @@ void SourceTreeItem::ExitEditMode(bool save)
|
|||
editor = nullptr;
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
boxLayout->insertWidget(index, label);
|
||||
label->setFocus();
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* check for empty string */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue